Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPSFileBasedExplorer.OnLoadError Event

In This Article

Fires when a folder or item loading error occurs.

#Declaration

Delphi
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