IEtlBox.DefaultHandlers

Syntax

DefaultHandlers: Boolean;

Description

The DefaultHandlers property determines whether a default action can be executed with a shape in ETL task.

Comments

Available values:

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

Example

Executing the example requires a form, a button named the Button1 on the form, 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.

Add a link to the ETL system assembly.

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

After executing the example, clicking the button opens a system context menu for an 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