Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
where integer
resolves to a value between 0 and 15, and 0 means “no family.”
This property sets or retrieves the button family for a given button.
Setting the hilite of any button in a family to true
sets the hilite of all other same-family buttons to false
.
The default family
value for a new button is 0.
Card and button families are distinct; so there can be a family n for card buttons and another family n for background buttons.
You can also assign a button to a family by using the Family pop-up menu in the button's Get Info dialog box.
HyperTalk Definition
An expression that identifies a button by name, number, or id, using one of the following forms:
For example:
When used inside a button script: me
When a button receives a message: [the] target
A button can also be referred to as a part when you’re talking about its position among all buttons and fields within the same card or background.
AppleScript Definition
An expression that identifies a button by name, number, or id, using the same forms as HyperTalk except that “background” must be used in place of “bkgnd”.
An expression that evaluates to a positive or negative integer or to zero. For example:
In AppleScript, integer is a value class.