MetabaseTreeList.OnIsDynamicElem

Syntax

OnIsDynamicElem(Sender: Object; Args: IMetabaseTreeNodeSpecialEventArgs);

Parameters

Sender. The parameter that returns the component that generated the event.

Args. The parameter that enables the user to determine event parameters.

Description

The OnIsDynamicElem event is used to set whether a tree of folder child elements is dynamically built.

Comments

The event occurs when a tree is built for each folder, and also for the elements, which are set as folders in the OnIsFolderElem event.

The IMetabaseTreeNodeSpecialEventArgs.Node property of event argument can be used to get the folder, for which an event is generated. By default, the IMetabaseTreeNodeSpecialEventArgs.Special property of event argument is set to False, and all child elements of IMetabaseTreeNodeSpecialEventArgs.Node are built immediately. If the IMetabaseTreeNodeSpecialEventArgs.Special property is set to True, the child element tree for IMetabaseTreeNodeSpecialEventArgs.Node is not built. The child elements are built dynamically when the element hierarchy is built.

NOTE. The event is relevant if the IMetabaseTreeList.DelayedFill property is set to False.

See also:

MetabaseTreeList