TabSheetBox.OnObjectActivate

Syntax

Sub TabSheetBoxOnObjectActivate(Sender: Object; Args: ITabObjectEventArgs);

Begin

//set of operators

End Sub TabSheetBoxOnObjectActivate;

Parameters

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

Args - a parameter, which allows to define the object, for which the event has occurred.

Description

The OnObjectActivate event occurs when a table object is activated or deactivated.

Example

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

Sub TabSheetBox1OnObjectActivate(Sender: Object; Args: ITabObjectEventArgs);

Var

s: String;

Begin

s := Args.Object.Id;

End Sub TabSheetBox1OnObjectActivate;

After executing the event the variable «s» will contain the identifier of the object, over which the action has been performed.

See also:

TabSheetBox