version 3
SET MENU ITEM MARK (menu; item; mark{; process})
Parameter | Type | Description | |
menu | Number | Menu number | |
item | Number | Item number | |
mark | String | New menu item mark | |
process | Number | Process reference number |
Description
The SET MENU ITEM MARK command changes the check mark of the menu item whose menu and item numbers are passed in menu and menuItem to the first character of the string passed in mark.
If you omit the process parameter, SET MENU ITEM MARK applies to the menu bar for the current process. Otherwise, SET MENU ITEM MARK applies to the menu bar for the process whose reference number is passed in process.
If you pass an empty string, any mark is removed from the menu item. Otherwise:
On Macintosh, the first character of the string becomes the mark of the menu item. Usually, you will pass Char (18), which is the check mark character for Macintosh menus.
On Windows, the menu item is assigned the standard check mark.
Example
See example for the command Get menu item mark.
See Also