hilitedIcon

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the hilitedIcon of <button> to {<imageID> | <imageName>}
Synonymshiliteicon
Associationsbutton
Summary

Specifies an image to display in a button when the button is highlighted.

Introduced1.0
Changes

The hilitedIcon keyword was introduced in version 1.1. In previous versions, the hiliteIcon synonym was used.

OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the hilitedIcon of button "Management" to 343
Values
NameTypeDescription
Value

The hilitedIcon property is the ID or name of an image to use for an icon. LiveCode looks for the specified image first in the current stack, then in other open stacks. By default, the hilitedIcon property of newly created buttons is set to zero.

RelatedKeyword: image, button
Property: hilite, icon, showIcon, name, ID
Function: stacks
Glossary: highlight, property, current stack
Object: button
Description

Use the hilitedIcon property to change a button's appearance when it is highlighted.

When the button is highlighted, the hilitedIcon is displayed within the button's rectangle.

Tagsui