Remove(Index: Integer): Boolean;
Index - the index of the style in the collection, which should be removed.
The Remove method removes the specified style from the collection. It returns True in case of success.
To execute the example a form, a button on this form named Button1, the component UiTabSheet named UiTabSheet1 and the component TabSheetBox are required.
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: