Click or drag to resize

ToolBar.SetImageList Method

X#
Sets the ImageList to be used by the ToolBar.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD SetImageList(
	uImageList,
	symType,
	symTB
) AS USUAL CLIPPER
Request Example View Source

Parameters

uImageList (Optional)
Type: Usual
Can be an Imagelist or a bitmap loaded with LR_CREATEDIBSECTION and the background Color{192, 192, 192}.
symType (Optional)
Type: Usual
Can be #IMAGELIST, #HOTIMAGELIST or #DISABLEDIMAGELIST, The default value is #IMAGELIST
symTB (Optional)
Type: Usual
Is the name of the toolbar (subtoolbar) The default is #Maintoolbar

Return Value

Type: Usual
Remarks
You can assign your own imagelist for every subtoolbar. Additionally you could assign a separate HotImagelist and a DisabledImagelist for every subtoolbar. If you assign a Bitmap instead, it is automatically converted into a compatible Imagelist. Bitmaps for a toolbar imagelist must be loaded with the parameter LR_CREATEDIBSECTION and not with the BMP_3DTRANSPARENT which is needed for Ribbons. The Bitmap must have the default VO background color for Toolbar ribbons Color{192, 192, 192}.
See Also