BBjAppConfig::getDevelopmentMode

Description

In BBj 16.0 and higher, this method returns a boolean indicating whether this BUI app should be run in development mode. The default value is false.

Syntax

Return Value

Method

boolean

getDevelopmentMode()

Parameters

None.

Return Values

Returns a boolean indicating whether this BUI app should be run in development mode.

Remarks

BUI normally suppresses the default browser handling for function keys F1..F12. When development mode is set, BUI allows the normal browser handling for those keys to take effect.

Example

rem ' BBjAppConfig::getDevelopmentMode

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
print "getDevelopmentMode: ",
print appConfig!.getDevelopmentMode()
print "setDevelopmentMode(false)"
appConfig!.setDevelopmentMode(0)
print "getDevelopmentMode: ",
print appConfig!.getDevelopmentMode()
print "clearDevelopmentMode()"
appConfig!.clearDevelopmentMode()
print "getDevelopmentMode: ",
print appConfig!.getDevelopmentMode()

See Also

BBjAPI

BBjAppConfig

BBjAppServer::getDevelopmentMode()

BBjAppServer::setDevelopmentMode()

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.