SET MENU ITEM MARK

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 3


SET MENU ITEM MARK (menu; item; mark{; process})

ParameterTypeDescription
menuNumberMenu number
itemNumberItem number
markStringNew menu item mark
processNumberProcess 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

Get menu item mark.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next