BrowseEnabled

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalBoolean BrowseEnabled(  )

The BrowseEnabled method tells whether web browsing functionality is currently available for the client.

Returns

The return value is TRUE if web browsing is currently available for the client, FALSE otherwise.

Comments

The purpose of the BrowseEnabled method is primarily to enable/disable GUI elements such as menu items. There is no need to check with BrowseEnabled before every call to BrowsePage.

Example

Menu Item: IFS On the Web...
   Menu Settings
       Enabled when: BrowseEnabled(  )
       Checked when:
   Menu Actions
       Call BrowsePage( 'http://www.ifsab.se' )
if (Int.BrowseEnabled()) 
{
	Ifs.Fnd.ApplicationForms.Int.BrowsePage( "http://www.ifsab.se" );
}