Important: The information in this document is obsolete and should not be used for new development.
CheckItem
Use theCheckItemprocedure to set the mark of a specific menu item to a checkmark or to remove a mark from a menu item.
PROCEDURE CheckItem (theMenu: MenuHandle; item: Integer; checked: Boolean);
theMenu- A handle to the menu record of the menu containing the menu item whose mark you wish to set to a checkmark or whose mark you wish to remove.
item- The item number of the menu item.
checked- The
CheckItemprocedure sets or removes the mark of the item according to the information in thecheckedparameter.- To set the mark of a menu item to a checkmark, specify
TRUEin thecheckedparameter. To remove a checkmark or any other mark from a menu item, specifyFALSEin thecheckedparameter.DESCRIPTION
TheCheckItemprocedure sets the mark of the specified menu item to a checkmark or removes any mark from the menu item.SEE ALSO
See Listing 3-11 on page 3-61 for examples of setting the mark of a menu item.