Important: The information in this document is obsolete and should not be used for new development.
GetSuiteLabelYou can use the
GetSuiteLabelfunction to get the default label setting associated with an icon suite.
FUNCTION GetSuiteLabel (theSuite: Handle): Integer;
- A handle to an icon suite.
GetSuiteLabelfunction returns, as its function result, the default label setting associated with the specified icon suite. The default label setting is an integer from 1 to 7 that specifies which of the label colors shown in the Finder's Label menu is applied to icons of that suite when your application displays them.
GetSuiteLabelreturns 0 if the suite doesn't have a label.
You can override the default label setting for a suite by specifying a label in the
transformparameter of the
SEE ALSOTo get information about the color and string for a specific label, you can use the
GetLabelfunction, which is described on page 5-41.