BBjTopLevelWindow::getOuterX

Description

In BBj 15.0 and higher, this method returns the outer screen X of a BBjTopLevelWindow, including the title bar and borders.

Syntax

Return Value

Method

int

getOuterX()

Parameters

None.

Return Value

Returns the outer screen X of the BBjTopLevelWindow, including the title bar and borders.

Remarks

None.

Example

rem ' getOuterX, getOuterY, getOuterWidth, getOuterHeight

sysgui = unt

open (sysgui)"X0"

sysgui! = bbjapi().getSysGui()

window! = sysgui!.addWindow(100,100,200,200,"BBjWindow",$00090003$)

window!.setCallback(window!.ON_CLOSE,"eoj")

print "Window outer bounds:",

print window!.getOuterX(),window!.getOuterY(),

print window!.getOuterWidth(),window!.getOuterHeight()

process_events

eoj:

release

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

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