ToolBar.SetImageList Method | |
Sets the ImageList to be used by the ToolBar.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD SetImageList(
uImageList,
symType,
symTB
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual SetImageList(
Usual uImageList = default,
Usual symType = default,
Usual symTB = default
)
Request Example
View SourceParameters
- 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:
UsualRemarks
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 X# background color for Toolbar ribbons Color{192, 192, 192}.
See Also