BBjImageCtrl::setImage

Description

Sets the BBjImage object associated with this BBjImageCtrl.

Syntax

Return Value

Method

void

setImage(BBjImage image!)

Parameters

Return Value

Method

image!

The image to display in the BBjImageCtrl.

Return Value

None.

Remarks

None.

Example

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! = mySysGui!.getImageManager().loadImageFromFile("find.ico")
imageCtrl!.setImage(image!)

See Also

BBjAPI

BBjSysGui

BBjImage

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