Important: The information in this document is obsolete and should not be used for new development.
GetItemStyle
Use theGetItemStyleprocedure 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
GetItemStyleprocedure returns the style of the text for this item.chStyle- The
GetItemStyleprocedure returns the style of the text for this item in thechStyleparameter. ThechStyleparameter is a set defined by theStyledata type.TYPE
StyleItem = (bold, italic, underline, outline,
shadow, condense, extend);
Style = SET OF StyleItem;DESCRIPTION
TheGetItemStyleprocedure returns the style of the text of the specified menu item in thechStyleparameter. The returned style can be one or more of the styles defined by theStyledata type, or it is the empty set if the style of the text is Plain.