BBjAppServer::setDevelopmentMode

Description

In BBj 16.0 and higher, this method sets whether BUI apps should be run in development mode by default .

Syntax

Return Value

Method

void

setDevelopmentMode(boolean development)

Parameters

Variable

Description

development

A boolean indicating whether BUI apps should be run in development mode by default .

Return Value

None.

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 ' BBjAppServer::setDevelopmentMode
admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
development! = appServer!.getDevelopmentMode()
appServer!.setDevelopmentMode(development!)
print "setDevelopmentMode ",development!

See Also

BBjAPI

BBjAppServer

BBjAppServer::getDevelopmentMode()

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