You are here: Symbol Reference > JSEditDialog Namespace > Classes > TJSCustomEditDialog Class > TJSCustomEditDialog Events > TJSCustomEditDialog.OnValidate Event
LMD DialogPack
ContentsIndexHome
PreviousUpNext
TJSCustomEditDialog.OnValidate Event

Handle this event to perform validation on dialog input when the dialog has been closed.

Pascal
property OnValidate: TJSValidateEvent;

The OnValidate event is triggered when the dialog has been closed with an ModalResult that is deemed successful. A successful outcome includes any on the following ModalResult values: mrOK, mrYes. The EditControl to be validated is passed in the Control parameter. To set the result of the validation, set the Valid parameter of the event.

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!