Active Image (ImgSelect)

The image that is displayed when the button, tab, or menu item is selected.

"ImgSelect=@ImageFile | ^GlyphName"

Usage

Dynamic?

Yes

Supported in Grid?

No

Dependencies:

For widgets, Default Image must be set.

For command buttons, Representation must be set to Uniface.

Setting in ProcScript

You can use $properties or $fieldproperties to set or get the property and its value. For more information, see $properties and $fieldproperties.

$fieldproperties(FLD1) = "ImgDefault=@filesave.png;ImgSelect=@filesave_sel.png"

Setting for Menus

For menus, this property can only be set in the application initialization file and applies to all menus. If ImgSelect is set, it overrides the BackColorSelect property.

In usys.ini:

[application]
menu=umenu(ForeColor=black;ImgSelect=@yellow.png)

Related Topics