radioBehavior

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the radioBehavior of <group> to {true | false}
Associationsgroup
Summary

Specifies that only one radio button in a group can be highlighted at a time.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the radioBehavior of last group to true
Values
NameTypeDescription
Value

The radioBehavior of a group is true or false. By default, the radioBehavior property of newly created groups is set to true.

RelatedKeyword: button
Property: hilitedButtonName, tabGroupBehavior, style
Command: hilite, group
Function: selectedButton
Glossary: property, highlight, radio button, group
Object: button
Description

Use the radioBehavior property to create a radio-button cluster.

If a group's radioBehavior property is set to true, highlighting any radio button in the group unhighlights any other radio buttons--that is, the buttons in the group behave like a radio-button cluster, with the options being mutually exclusive.

If the radioBehavior is false, highlighting a button does not affect the hilite property of other buttons in the group.

The radioBehavior property does not affect buttons whose style is not set to radioButton.

Tagsui