IMetaAttributesTreeList.EditAttributes

Syntax

EditAttributes;

Description

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

If the element, selected in the component, is not a factor, the dialog is not called.

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 of properties editing for the current element, highlighted in MetaAttributesTreeList1, if this current element is a factor.

See also:

IMetaAttributesTreeList