Specifies whether a button has a changed (active) appearance due to the mouse pointer moving into it
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
set the armed of button to {true | false}
# Examples
set the armed of first button to false
if the armed of button "Font" then showFontSamples
# Description
Check the armed property to determine whether a button menu is open--that is, whether the user is in the process of choosing an item from the menu. You can also set a button armed property to change its appearance.
A button's armed property is analogous to its hilite property. A button is usually armed when the mouse pointer moves into it. You can automate this behavior by setting the button autoArm property to true.
The appearance of an armed button is determined by its armBorder and armFill properties.
# Tags
ui,
# See
- **keyword:** menu, button - **property:** armed, armFill, properties, autoArm, hiliteBorder - **command:** hilite - **object:** button - **glossary:** appearance, mouse pointer, property