Project: Shell Folders Unit.
Unit: PJShellFolders.
Class: TPJBrowseDialog
Applies to: ~>2.3
type
TPJBrowseValidationFailedEvent = procedure(Sender: TObject;
const EditText: string; var CanClose: Boolean) of object;
property OnValidationFailed: TPJBrowseValidationFailedEvent;
OnValidationFailed is triggered whenever an invalid folder is entered in the browser dialog’s edit control and the user OKs. The event is only ever triggered if the Options property contains both the boNewDlgStyle and boEditBox options.
The event handler’s parameters are:
Implement an event handler to take any required action, such as displaying an error message.