BBjMDI::getEastBorder

Description

In BBj 4.0 and higher, this method returns the east BBjMDI border.

Syntax

Return Value

Method

BBjMDIBorder

getEastBorder()

Parameters

None.

Return Value

Returns a BBjMDIBorder that can be used to set a window as a border within the BBjMDI.

Remarks

None.

Example

rem 'GetEastBorder.bbj

let myAPI! = BBjAPI()

rem 'Open the SysGui device
SYSGUI = UNT
OPEN (SYSGUI)"X0"

rem 'Obtain the instance of the BBjSysGui object
let mySysGui! = myAPI!.getSysGui()

rem 'Set common addWindow param values
X = 10
Y = 10
WIDTH = 200
HEIGHT = 50
mySysGui!.setContext(0)
myWindow! = mySysGui!.addWindow(X,Y,WIDTH,HEIGHT,TITLE$)
CALLBACK(ON_CLOSE,APP_CLOSE,mySysGui!.getContext())

rem 'THIS IS HOW YOU DOCK A WINDOW
if (myAPI!.isInMDI())
    eastBorder! = myAPI!.getMDI().getEastBorder()
    eastBorder!.setWindow(myWindow!)
endif

rem 'Process Events
process_events

rem 'Callback routine called when the user closes the application window
APP_CLOSE:
release

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

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