ArcPad Scripting Object Model
OnQueryCancel Event
See Also  Send comments on this topic.
Page Object : OnQueryCancel Event

Glossary Item Box

Description

Occurs for every page before the OnCancel event occurs when the Cancel button is clicked in a form.

Remarks

Use this event to write code that performs any desired action when the user clicks the Cancel button in a form. An OnQueryCancel event handler can stop a form from closing via the Cancel button by setting ThisEvent.Result = False. You must handle this event for every page in the form if you want to handle it at all. This event also occurs when the form is closed via the Form object's Close method (if the OK argument is set to False).

See Also

© 2013 All Rights Reserved.