armed

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the armed of <button> to {true | false}
Synonymsarm
Associationsbutton
Summary

Specifies whether a button has a changed (active) appearance due to the mouse pointer moving into it

Introduced1.0
Changes

The armed keyword was introduced in version 1.1. In previous versions, the arm synonym was used.

OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the armed of first button to false
if the armed of button "Font" then showFontSamples
RelatedKeyword: menu, button
Property: armed, armFill, properties, autoArm, hiliteBorder
Command: hilite
Object: button
Glossary: appearance, mouse pointer, property
Description

Check the armed property to determine whether a button's 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's 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's autoArm property to true.

The appearance of an armed button is determined by its armBorder and armFill properties.

Tagsui