TiComponent.GetThemeCategoryCount
TiComponent See Also
Retrieves the number of Theme Categories loaded.
function GetThemeCategoryCount() : Integer;
Description
Call GetThemeCategoryCount to retrieve the number of Theme Categories that
have been loaded.
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 before this function will work.
Example
Delphi/Kylix
Value := iComponent.GetThemeCategoryCount; //Retrieve the number of Theme Categories
C++ Builder
Value = iComponent->GetThemeCategoryCount(); //Retrieve the number of Theme Categories
Contents | Index | Previous | Next