IMetaAttributesTreeList.LightWeight

Fore Syntax

LightWeight: Boolean;

Fore.NET Syntax

LightWeight: boolean;

Description

The LightWeight property determines whether to load indicators dynamically.

Comments

If LightWeight = True, the indicators are loaded dynamically (only when opening the last level of a indicators tree). Use of dynamic loading enables to reduce time of indicators tree loading.

Fore Example

Executing the example requires a form with a button with the Button1 identifier on the form, the MetaAttributesBreadcrumb component and the MetaAttributesTreeList component with the MetaAttributesTreeList1 identifier. These components are set up to work with any time series database. The example is a handler of the OnClick event for a button.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
    MetaAttributesTreeList1.LightWeight := True;
End Sub Button1OnClick;

After executing the example, indicators of time series database are loaded dynamically.

Fore.NET Example

Executing the example requires a form with a button with the button1 identifier on the form, the MetaAttributesBreadcrumbNet component and the MetaAttributesTreeListNet component with the MetaAttributesTreeListNet1 identifier. These components are set up to work with any time series database. The example is a handler of the Click event for a button.

Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Begin
   MetaAttributesTreeListNet1.LightWeight := True;
End Sub;

After executing the example, indicators of time series database are loaded dynamically.

See also:

IMetaAttributesTreeList