ITabTableStyles.Remove

Syntax

Remove(Index: Integer): Boolean;

Parameters

Index - the index of the style in the collection, which should be removed.

Description

The Remove method removes the specified style from the collection. It returns True in case of success.

Example

Executing the example requires a form with the Button1 button located on it, the UiTabSheet component named UiTabSheet1 and the TabSheetBox component.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

TSheet: ITabSheet;

TTStyles: ITabTableStyles;

TStyle: ITabTableStyle;

Begin

TSheet := UiTabSheet1.TabSheet;

TTStyles := TSheet.TableStyles;

TStyle := TTStyles.Add;

TTStyles.Remove(0);

End Sub Button1OnClick;

After executing the example the first style will be removed from the collection.

See also:

ITabTableStyles