TiComponent.GetThemeCategoryName

TiComponent See Also

Retrieves the Name of a category by Index value.

function
GetThemeCategoryName(CategoryIndex: Integer): String;

Description

Call GetThemeCategoryName to retrieve the name of a particular Theme Category that has 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.GetThemeCategoryName(1); //Retrieve the name of the second Theme Category

C++ Builder

Value = iComponent->GetThemeCategoryName(1); //Retrieve the name of the second Theme Category

Contents | Index | Previous | Next