BBjCommandLineObject::getChildFrameMode

Description

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

Syntax

Return Value

Method

string

getChildFrameMode()

Parameters

None.

Return Value

Returns the mode which will be used if a new BBjSession is started within an MDI environment using this BBjCommandLineObject.

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.