sharedHilite

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the sharedHilite of <button> to {true | false}
Associationsbutton
Summary

Specifies whether a grouped button's hilite property is the same on all cards with that group.

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

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

RelatedKeyword: card, button
Property: sharedText
Command: hilite, group
Object: card, button
Glossary: property, grouped control, current card, highlight, radio button, checkbox
Description

Use the sharedHilite property to cause a button (such as a radio button or checkbox) to display the same state wherever it is shown.

If a button's sharedHilite property is set to true, the hilite property of that button is the same on all cards where the button appears. Highlighting the button on one card highlights it on all of them. If the button's sharedHilite is false, it can have a different hilite property on each card where it appears, and highlighting(glossary) a button highlights it only on the current card.

Set the sharedHilite property to false for radiobuttons and checkboxes (and for other buttons whose hilite is retained to display a setting or a state) if the state the button displays is different for each card.

Tagsui