AddStyle(Style: ITabCellStyle): Integer;
Style is the style, which should be added.
The AddStyle method allows to add a new formatting style.
Sub AddStyle;
Var
style : ITabCellStyle;
Begin
style:= New TabCellStyle.Create;
style.BackgroundColor:= New GxColor.CreateRGB(255,0,0);
UiTabSheet1.TabSheet.AddStyle(style);
UiTabSheet1.TabSheet.ParseCell("a0").Style := style;
End Sub AddStyle;
As a result for the cell "a0" a style with the red background color will be set.
See also: