folderedit OnButtonClick event
Return to Introduction  Previous page  Next page
Applies to
dcFolderEdit and dcFileEdit components.  

property OnButtonClick: TNotifyEvent;  

The OnButtonClick event occurs when user clicks the button at the right side of edit control, to select the folder. The OnButtonClick for the dcFolderEdit component occurs before displaying the "Browse For Folder" dialog. If you would like to handle clicks on "Ok" and "Cancel" buttons of this dialog box - use OnDlgOk and OnDlgCancel events.  
tip To make the custom button appear on the edit control - set Button.Visible to True, or to False if you'd like to hide the button.  

See also
OnDlgOk and OnDlgCancel events;  
dcBrowseDialog component.