TiComponent.GetThemeCategorySchemeName

TiComponent See Also

Retrieves the name of particular Scheme.

function
GetThemeCategorySchemeName(CategoryIndex, SchemeIndex: Integer): String;

Description

Call GetThemeCategorySchemeName to retrieve the name of a particular scheme 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, know the index of the Theme Category, and know the index of the Scheme before this function will work.

Example

Delphi/Kylix

//Retrieve the name of the third scheme in the second Theme Category

Value := iComponent.GetThemeCategorySchemeName(1, 2);

C++ Builder

//Retrieve the name of the third scheme in the second Theme Category

Value = iComponent->GetThemeCategorySchemeName(1, 2);

Contents | Index | Previous | Next