acceleratorText | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | acceltext | ||||||
Associations | button | ||||||
Summary | Specifies the shortcut hint that appears at the right edge of a button. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux | ||||||
Platforms | desktop | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: character, characters, button, string Property: acceleratorModifiers, label, textAlign, acceleratorKey, rightMargin, mnemonic Object: button Glossary: property, key combination, modifier key | ||||||
Description | Use the acceleratorText property to provide the user with an onscreen hint about the shortcut key combination specified by the button's acceleratorKey property. The acceleratorText string appears at the right edge of the button, inside the button's rightMargin. LiveCode does not automatically make room for the acceleratorText string, so you might need to enlarge the button to prevent its label from overlapping the acceleratorText string. If the button's textAlign property is set to "right", the button's label overlaps the acceleratorText string, so you shouldn't set a button's acceleratorText if it has a right-aligned label. Usually, the string should be the character in acceleratorKey, but you might want to include additional characters to hint at the modifier key needed.
| ||||||
Tags | ui |