LightWeight: Boolean;
The LightWeight property determines whether to load indicators dynamically.
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.
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.
See also: