IMetaAttributesTreeList.EditAttributes

Syntax

EditAttributes;

Description

The EditAttributes method opens the dialog box for editing properties of the indicator currently selected in the component.

If the element selected in the component is not a indicator, the dialog box is not opened.

Example

Executing the example requires a form with a button with the Button1 identifier on this form, the MetaAttributesBreadcrumb and the MetaAttributesTreeList components named MetaAttributesBreadcrumb1 and MetaAttributesTreeList1. These components are set up to work with any time series database.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Begin

If MetaAttributesTreeList1.Selected Is IFactorTreeListNode Then

MetaAttributesTreeList1.EditAttributes;

End If;

End Sub Button1OnClick;

After executing the example, pressing the button displays the dialog box of properties editing for the current element, highlighted in MetaAttributesTreeList1 if this current element is an indicator.

See also:

IMetaAttributesTreeList