||I have a very strange problem.
I have a custom toolbar with several button. One button has a custom event handler for OnPointerDown, which enables me to add points to my layer as soon as the button is depressed (similarly to the tutorial).
Somehow my event handler seems to stop working after I switch on GPS.
To test the handler I did the following.
In the event OnPointerDown I wrote the single line handler:
Console.Print "OnPointerWorked!!", apRed, apWhite
Then I switched on the console so that it shows every application event.
Before starting GPS I have the following log:
(sometimes if I do not touch the screen swiftly enough there is a OnPointerMove event in between, but generally I see only these two events).
Then I switch GPS via menu. I get many OnSentence events running every time GPS sends a new line to ArcPAD, but there is no "OnPointerWorked!!" event anymore. The log looks as follows:
So, the handler does not work at all!!!
If I deactivate GPS, this situation remains, so I do not see any OnSentence events anymore, but only OnPointerDown and OnPointerUp, the log looks like:
Does anybody have an idea what I could do?
NB: I forgot to mention that this happens only on PDA, if I try to run my script on the desktop version of ArcPAD it works as expected, e.g. I get my event handler message in all cases, before, during and after GPS activity.