TiPercentBar.ItemColor

TiPercentBar

Used to set the color of a specific item.

property ItemColor[Index : Integer] : TColor;

Description

Use the ItemColor property to get or set the color of a specific item.

Example

Delphi

iComponent.ItemColor[1] := clRed; //Sets 2nd item color

C++ Builder

iComponent->ItemColor[1] = clRed; //Sets 2nd item color

Note: The index value is 0 based.

Contents | Index | Previous | Next