TabSheetBox.OnScaleChange

Syntax

Sub TabSheetBoxOnScaleChange(Sender: Object; Args: ITabScaleEventArgs);

Begin

//set of operators

End Sub TabSheetBoxOnScaleChange;

Parameters

Sender - a parameter, indicating the component, in which the event has occurred.

Args - a parameter, which allows to define additional event parameters.

Description

The OnScaleChange event occurs when the table scale changes.

Example

To execute the example, this procedure has to be assigned as an event handler to the OnCellChange event for the component TabSheetBox with the TabSheetBox1 identifier.

Sub TabSheetBox1OnScaleChange(Sender: Object; Args: ITabScaleEventArgs);

Var

d: Double;

Begin

d:=Args.Scale;

End Sub TabSheetBox1OnScaleChange;

After executing the event the variable «d» will contain the new table scale.

See also:

TabSheetBox