autoArm | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | button | ||||||
Summary | Specifies whether a button becomes armed when the mouse pointer moves into it. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: pointer, button Property: showHilite, armed, armFill, armedIcon Message: mouseDown, keyDown, keyUp Object: button Glossary: property, stack menu, mouse pointer, message, menu item, cascading menu | ||||||
Description | Use the autoArm property to provide visual feedback to the user about which button the mouse pointer is over. Usually, the autoArm property is used for buttons that are part of stack menus. A button whose autoArm property is set to true does not receive mouseDown messages. If a button's autoArm property is true, it receives keyDown and keyUp messages for keypresses that occur while the mouse is pressed and the pointer is over the button. If the button's autoArm is false, it does not receive key messages while being clicked. | ||||||
Tags | ui |