You are here: Symbol Reference > JSDialog Namespace > Classes > TJSCustomDialog Class > TJSCustomDialog Methods > TJSCustomDialog.DoDialogCloseQuery Method
LMD DialogPack
ContentsIndexHome
PreviousUpNext
TJSCustomDialog.DoDialogCloseQuery Method

Default event handler for the OnCloseQuery event for the dialog.

Pascal
procedure DoDialogCloseQuery(Sender: TObject; var CanClose: Boolean); virtual;

Override this method to perform additional handling in the OnCloseQuery event to provide additional functionality such as dialog validation.

The TJSEditDialog, TJSPasswordDialog and TJSChangePasswordDialog components override this event to perform validation on the dialogs input.

Copyright © 2013 by LMD Innovative. All rights reserved.
Copyright © 2013 by LMD Innovative. All rights reserved.
What do you think about this topic? Send feedback!