ITabSheet.Clear

Syntax

Clear;

Description

The Clear method is used to clear all table contents.

Comments

All cell values and cell contents, formatting of cells, rows and columns, conditional formatting settings are cleared.

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
        Tab: ITabSheet;
    Begin
        Tab := UiTabSheet1.TabSheet;
        Tab.Clear;
    End Sub Button1OnClick;

Clicking the Button1 button deletes table data.

See also:

ITabSheet