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.



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.