Hello, I have noticed that if you have an "OnValidate" event for a control, this event is fired twice when you click OK in the form.
I have attached a little applet to illustrate.
Unzip the applet and place it in your applets directory
Fire up ArcPad
Click the "Bex" toolbar
Click the "Bex" tool
Click ok in the form
You will get two messageboxes popping up each triggered by the onvalidate event for the textbox in the form.
If there are several (lots of) controls on the form and these contain lots of code, the amount of time spent validating can become significant.
Any suggestions for a way to reduce this overhead?
Rolf