TabSheetBox.OnAfterDeleteRange

Syntax

Sub OnAfterDeleteRange(Sender: Object; Args: ITabRangeDeleteEventArgs);

Begin

//set of operators;

End Sub OnAfterDeleteRange;

Parameters

Sender. The parameter that returns the component that generated the event.

Args. The parameter that enables the user to determine event parameters.

Description

The OnAfterDeleteRange event occurs after cell range deletion.

Comments

Before cell range deletion, the TabSheetBox.OnBeforeDeleteRange event occurs.

Example

Executing the example requires a form containing the TabSheetBox component with the TabSheetBox1 identifier and the UiTabSheet component with the UiTabSheet1 identifier. Set the UiTabSheet1 component as a data source for the TabSheetBox1 component.

Sub TabSheetBox1OnAfterDeleteRange(Sender: Object; Args: ITabRangeDeleteEventArgs);
Begin
    Debug.WriteLine("The range is deleted: " + Args.Range.Address +
    " using: " + Args.ShiftDirection.ToString + " from table: " + Args.TabSheet.Name);
End Sub TabSheetBox1OnAfterDeleteRange;

After executing the example, after each cell range deletion the console displays the message containing information about deleted range.

See also:

TabSheetBox