MetabaseTreeCombo.OnIsEmptyFolder

Syntax

Sub OnIsEmptyFolder(Sender: Object; Args: IMetabaseTreeNodeSpecialEventArgs);

Begin

//set of operators;

End Sub OnIsEmptyFolder;

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 OnIsEmptyFolder event is used to set whether a folder is empty.

Comments

If value of the ShowEmptyFolders property is changed for the component, empty folders are hidden or shown. The OnIsEmptyFolder event is generated for each folder and for elements, which are set as folders in the OnIsFolderElem event. The Node property of the event argument can be used to get a folder, for which the current event is generated.

If empty folders are hidden (the ShowEmptyFolders property is set to False), the Special property of the event argument can be used to specify whether the Node folder is empty (the folder will be hidden in the tree) or non-empty (the folder will not be hidden in the tree). If the Special property is set to True, the folder will be marked as empty, if the property is set to False, the folder will be marked as non-empty.

See also:

MetabaseTreeCombo