family | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | button | ||||||
Summary | Coordinates a set of radio buttons so that only one button of a family can be highlighted. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: card, integer, button Property: hilitedButtonName, radioBehavior Command: group Function: selectedButton Glossary: property, highlight, radio button, group Object: button | ||||||
Description | Use the family property to set up a cluster of related buttons. Setting the family of a button to a number makes the button a member of that family. All the buttons in a card or group whose family property is the same behave as a radio-button cluster: only one button in the family can be highlighted at a time, and highlighting another member of the family unhighlights all the others. If a button's family property is zero, it is not a member of any family. If the buttons are part of a group, the group's backgroundBehavior property must be set to true. This property exists to aid compatibility with imported HyperCard stacks. Unlike the property in HyperTalk, it has no effect on buttons whose style property is not "radioButton".
| ||||||
Tags | ui |