 |
THE HYPERCARD CENTER |
|
|
Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
checkMarkset [the] checkMark of menuItem of ¬ menu to trueOrFalse
The checkMark property returns or sets whether a check-mark character appears in front of a menu item. It uses the character, numToChar(18) , as the default check-mark character. Click Related Topics for information about the markChar property, which lets you use characters other than the check mark. Examplesset the checkMark of menuItem 1 of menu "File" to true set the checkMark of first menuItem of menu 2 to false set the checkMark of menuItem "Open Stack..." of second menu to true
Demo Scripton mouseUp if there is a menu "Reference" then set the checkMark of menuItem 1 of menu "Reference" to ¬ not(the checkMark of menuItem 1 of menu "Reference") end mouseUp
Related Topics Placeholders
menuItemAn expression that evaluates to one of the following: menuItem text menuItem posInteger ordinal menuItem
For example: menuItem "New" menuItem 2 second menuItem
menuAn expression that evaluates to one of the following: menu text menu posInteger ordinal menu
For example: menu "File" menu 2 second menu
trueOrFalseAny expression that evaluates to the HyperTalk and AppleScript constants true or false . For example: true false the hilite of bg btn "Yes" fld "Zip" contains "95014" the short name of this stack is "Fred"
HyperTalk Reference
|