IMetaAttributesTreeList.LightWeight

Fore Syntax

LightWeight: Boolean;

Fore.NET Syntax

LightWeight: boolean;

Description

The LightWeight property determines whether to load factors dynamically.

Comments

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

Fore Example

Executing the example requires a form with a button with the Button1 identifier on this form, the MetaAttributesBreadcrumb component and MetaAttributesTreeList with the MetaAttributesTreeList1 identifier. These components are configured 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, factors of time series database are loaded dynamically.

Fore.NET Example

Executing the example requires a form with a button with the button1 identifier on this form, the MetaAttributesBreadcrumbNet component and MetaAttributesTreeListNet with the MetaAttributesTreeListNet1 identifier. These components are configured 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, factors of time series database are loaded dynamically.

See also:

IMetaAttributesTreeList