selectedButton | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns the name of the currently highlighted button in a family. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: string, button Property: family, hilitedButton, radioBehavior Command: group Object: button Glossary: property, highlight, radio button, return Control Structure: function | ||||||
Description | Use the selectedButton function to find out the current setting of a radio-button cluster controlled by the family property. This function exists for compatibility with imported HyperCard stacks. You can use the radioBehavior property to cause a group consisting of buttons to behave as a radio cluster, and use the hilitedButton property to find out which button in the group is highlighted. | ||||||
Tags | ui |