IEtlBox.DefaultHandlers

Fore Syntax

DefaultHandlers: Boolean;

Fore.NET Syntax

DefaultHandlers: Boolean;

Description

The DefaultHandlers property determines whether it is possible to execute default action with the shape in ETL task.

Comments

The property is relevant if the ETL task contains shapes that are linked with repository objects.

If the DefaultHandlers property is set to True, the actions defined in the repositories are executed for shapes. The corresponding object opens on double-click on the shape, which corresponds to the repository object. The DefaultHandlers property is set to False by default, all actions are processed in component events.

Fore Example

Executing the example requires a form with a button named Button1, the UiEtlObject component named UiEtlObject1 and the EtlBox component named EtlBox1. UiEtlObject1 is selected as a data source for EtlBox1. Any ETL task is connected to UiEtlObject1.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
    EtlBox1.PopupMenu := 
Null;
    EtlBox1.DefaultHandlers := 
True;
    EtlBox1.DefaultMenu := 
True;
End Sub Button1OnClick;

On clicking the button the system context menu is available for the ETL task and its shapes. Also, the actions defined for the shapes in the repository are performed for shapes representing repository objects.

See also:

IEtlBox