BBjCommandLineObject::setChildFrameMode

Description

In BBj 9.0 and higher, this method sets the mode which will be used if a new BBjSession is started within an MDI environment using this BBjCommandLineObject.

Syntax

Return Value

Method

void

setChildFrameMode(string mode)

Parameters

Variable

Description

mode

The MDIMode to be used. See BBjMDI.setDefaultMDIMode() for listing of valid modes.

Return Value

None.

Remarks

In a traditional BBj SCALL, this is specified as –MDI<MDImode>. When starting a new BBjSession using SCALL or using a BBjCommandLineObject, this value is ignored if the session is not being started in an MDI environment.

Example

rem 'get and set ApplicationName

rem 'get CommandLine Object
myCMD! = BBjAPI().getConfig().getCurrentCommandLineObject()

myCmd!.setChildFrameMode("SDI")

PRINT myCMD!.getChildFrameMode()

See Also

BBjAPI

BBjConfig

BBjAPI::newBBjSession

BBjMDI.setDefaultMDIMode

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