EditAttributes;
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.
Executing the example requires a form with a button named Button1, the MetaAttributesBreadcrumb component named MetaAttributesBreadcrumb1 and the MetaAttributesTreeList component named 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, clicking the button displays the dialog box of properties editing for the current element selected in MetaAttributesTreeList1 if this current element is an indicator.
See also: