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

Declaration
property OnButtonClick: TNotifyEvent;  

Description
The OnButtonClick event occurs when user clicks the button at the right side of edit control, to select the folder. The OnButtonClick for the dcFileEdit component occurs before displaying the "Open file" or "Save to file" 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.