Important: The information in this document is obsolete and should not be used for new development.
GetItemStyle
Use theGetItemStyle
procedure to get the style of the text in a specific menu item.
PROCEDURE GetItemStyle (theMenu: MenuHandle; item: Integer; VAR chStyle: Style);
theMenu
- A handle to the menu record of the menu containing the menu item whose style you wish to get.
item
- The item number of the menu item. The
GetItemStyle
procedure returns the style of the text for this item.chStyle
- The
GetItemStyle
procedure returns the style of the text for this item in thechStyle
parameter. ThechStyle
parameter is a set defined by theStyle
data type.TYPE
StyleItem = (bold, italic, underline, outline,
shadow, condense, extend);
Style = SET OF StyleItem;DESCRIPTION
TheGetItemStyle
procedure returns the style of the text of the specified menu item in thechStyle
parameter. The returned style can be one or more of the styles defined by theStyle
data type, or it is the empty set if the style of the text is Plain.