TiComponent.GetThemeCategorySchemeCount
TiComponent See Also
Retrieves the number of Schemes in a particular Theme Category.
function GetThemeCategorySchemeCount(CategoryIndex: Integer): Integer;
Description
Call GetThemeCategorySchemeCount to retrieve the number of schemes contained
within a particular Theme Category.
Categories refer to Theme Categories such as "Color Schemes", "Indicator
Schemes", "User Interface Schemes", etc. Schemes refer to the different items
contained in a Theme Category. For example, the "Color Schemes" category for a
component might contain "Semi-Transparent", "Automobile", and "Midnight" color
schemes.
Note: you must first call LoadThemes and know the index of the Theme Category before this function will work.
Example
Delphi/Kylix
//Retrieve the number of schemes in a Theme Category
Value := iComponent.GetThemeCategorySchemeCount(1);
C++ Builder
//Retrieve the number of schemes in a Theme Category
Value = iComponent->GetThemeCategorySchemeCount(1);
Contents | Index | Previous | Next