Skip to main content

TCustomdxPSExplorer.BuildTree(TCustomdxPSExplorerTreeContainer) Method

Builds the report tree using the specified tree container.

Declaration

procedure BuildTree(ATreeContainer: TCustomdxPSExplorerTreeContainer);

Parameters

Name Type
ATreeContainer TCustomdxPSExplorerTreeContainer

Remarks

The BuildTree method is used internally to build the folders and reports tree displayed by the report explorer. The ATreeContainer parameter specifies the object controlling the report tree visual representation. Such an object can be obtained by calling the CreateTree method.

You will have no need to call this method if the default behavior of the TdxPSFileBasedExplorer and TdxPSDBBasedExplorer components suits your needs. You can make use of it however, if, for instance, you need to display the report tree on the form but not within the preview window. See the DBBasedExplorer demo for an example.

See Also