TiComponent.ApplyScheme

TiComponent See Also

Applies the specified Scheme to the component.

procedure
ApplyScheme(CategoryIndex, SchemeIndex: Integer);

Description

Call ApplyScheme to apply a particular Scheme to the component.

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 procedure will work.

Example

Delphi/Kylix

//Applies the Third Scheme in the second Scheme Category

iComponent.ApplyScheme(1, 2);

C++ Builder

//Applies the Third Scheme in the second Scheme Category

iComponent->ApplyScheme(1, 2);

Contents | Index | Previous | Next