Skip to main content

TdxPSFileBasedExplorer.OnLoadError Event

Fires when a folder or item loading error occurs.

Declaration

property OnLoadError: TdxPSFileBasedExplorerLoadErrorEvent read; write;

Remarks

When the explorer component is being initialized, the explorer loads the root folder its child folders and items. By default, child folder contents are loaded when expanding those folders, however if the eoLoadAll option is enabled the explorer loads the data of all nesting folders. This option can be accessed via the Options property.

If an error occurs when loading a folder or an item the explorer component raises the OnLoadError event. The explorer component can be identified via the Sender parameter. The failed folder or file name is passed as the AName parameter.

See Also