ArcPad Scripting Object Model
OnOK Event
See Also  Send comments on this topic.
Form Object : OnOK Event

Glossary Item Box


Occurs when the OK button is clicked in a form.


Use this event to write code that performs any desired action when the user clicks the OK button in a form. This event is not sent to the Form object until after it has been sent to all Page objects in the form. All OnValidate event handlers for Control and Page objects will have already succeeded when this event occurs. This event will not occur if any OnValidate event handlers fail (that is, set ThisEvent.Result = False). This event also occurs when the form is closed via the Form object's Close method (if the OK argument is set to True).

See Also

© 2013 All Rights Reserved.