CustomButtonIcon Property

Description

Returns/sets the custom button icon.

Usage

[form.][control.]CustomButtonIcon[ = Picture]

Data Type

Picture

Default

NULL

Remarks

This property sets the dropped down popup window custom button image. The default is nothing.

See also IndicatorIcon property.

Sample

Set ColorPicker1.CustomButtonIcon = LoadPicture("C:\ColorDialog.bmp")    'Load image for the control palette popup window custom item button.

Set ColorPicker1.CustomButtonIcon = LoadPicture()    'Clear image for the control palette popup window custom item button.