hilite

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the hilite of <button> to {true | false}
Synonymshighlight,highlite,hilight,highlighted,highlited,hilighted,hilited
Associationsbutton
Summary

Determines whether a button is highlighted.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the hilite of button "Option 1" to true
set the hilite of me to not the hilite of me
Values
NameTypeDescription
Value

The hilite of a button is true or false. By default, the hilite property of a newly created button is set to false.

RelatedKeyword: button
Property: bottomColor, showHilite, hiliteBorder, hilitedIcon, hiliteFill, hilitedButtonName, hiliteColor, hiliteBorder, bottomPattern, style, threeD, topColor, topPattern
Command: hilite
Object: button
Glossary: property, highlight, checkbox, hilitePattern, radio button
Description

Use the hilite property to provide visual feedback when a button is pressed, or to reflect the state of a setting.

The effect of the hilite property on a button depends on the style, threeD, and hiliteBorder of the button.

If the button's hiliteBorder and threeD properties are true, the topColor and bottomColor (or topPattern and bottomPattern) are reversed when the button is highlighted.

If a radio button's or checkbox's hilite is true, the radio button or checkbox option is selected. If the hilite is false, the option is not selected.

For buttons of any other style, if the hilite is true, the button's background is drawn in the hiliteColor (or the hilitePattern, if the button's hiliteFill property is true).

Tagsui