BBjSysGui::removeImageList

Description

In BBj 5.0 and higher, this method removes an imagelist created from addImageList.

Syntax

Return Value

Method

void

removeImageList(intid)

Parameters

Variable

Description

id

The imagelist id.

Return Value

None.

Remarks

None.

Example

rem 'Create an imagelist

rem 'Obtain the instance of the BBjAPI object
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 'Obtain the instance of the Image Manager object
let myImageManager! = mySysGui!.getImageManager()

rem 'Get the image from a file
let myImage! = myImageManager!.loadImageFromFile("updown.bmp")

rem 'Create the imagelist
let id = 1
let width = 8
mySysGui!.addImageList(id,width,myImage!)

rem 'Remove the imagelist
mySysGui!.removeImageList(id)

See Also

BBjAPI

BBjWindow

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