You are here: Symbol Reference > JSEditDialog Namespace > Classes > TJSCustomEditDialog Class > TJSCustomEditDialog Methods > TJSCustomEditDialog.DoValidation Method
LMD DialogPack
ContentsIndexHome
PreviousUpNext
TJSCustomEditDialog.DoValidation Method

Method that performs the dialogs validation.

Pascal
function DoValidation: Boolean; virtual;

If the edit control used for the dialog implements the IJSDialogControl interface, then the ValidateInput method of the interface is called. If the ValidateInput method is successful, then the OnValidate event is triggered to allow for additional validation.

If validation fails, the DoValidation method will also attempt to focus on the control causing the validation to fail.

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!