Skip to main content

TCustomdxPSExplorer.CanCreateItem Method

Indicates whether the explorer can create report items.

Declaration

function CanCreateItem: Boolean; virtual;

Returns

Type
Boolean

Remarks

The CanCreateItem method returns True if the explorer can create report items at the moment if reports cannot be saved, False will be returned. For instance, you can call the CanCreateItem method before attempting to save a report using the CreateNewItem method.

As implemented in the TCustomdxPSExplorer class, this method simply returns True. The TdxPSDBBasedExplorer class overrides this method to check whether datasets that store folders and items are bound to the explorer and whether they are active.

See Also