BBjImageCtrl::getImage

Description

Returns the BBjImage object associated with this BBjImageCtrl.

Syntax

Return Value

Method

BBjImage

getImage()

Parameters

None.

Return Value

The BBjImage object associated with this BBjImageCtrl.

Remarks

None.

Example

This example will only run with an image named "bbj.ico" in the same directory as the code, or another image called out in place of "bbj.ico" in the code.

let myAPI! = BBjAPI()

SYSGUI = UNT
OPEN (SYSGUI) "X0"

let mySysGui! = myAPI!.getSysGui()

rem 'Set the current context
mySysGui!.setContext(0)

myWindow! = mySysGui!.addWindow(10,10,200,200,"Window")

image! = mySysGui!.getImageManager().loadImageFromFile("bbj.ico")

imageCtrl! = myWindow!.addImageCtrl(5,10,10,40,40,image!)
image! = imageCtrl!.getImage()

See Also

BBjAPI

BBjSysGui

BBjImage

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