browsedialog OnSelected event
Return to Introduction  Previous page  Next page
Applies to
dcBrowseDialog component.  

Declaration
type  
  TdcBrowseDialogSelected = procedure(Sender: TObject; Folder: Stringvar OKEnabled: ShortInt; var StatusText: Stringof object;  
 
property OnSelected: TdcBrowseDialogSelected;  

Description
The OnSelected event occurs when user selects the folder in the dialog box.  

Parameters
Folderreturns the path to selected folder;  
OKEnabledused to enable or disable "OK" button of dialog box (to allow or disallow user to confirm selection);  
StatusTextused to retrieve or specify the status text (if soShowStatusText option is True).  

See also
OnChanged event and Options property.  
File not found.