> The top left corner of the button(just a plain vanilla
> button) is at 28.  When he sets the value to check the
> penDown event against at 25, meaning anything on the
> first 25 pixels will switch to the other form, that
> part works just fine - but it disables the button. 
> We've tried commenting the code out for each, and they
> both work if the other isn't there, but if the value's
> at 25, the button 3 pixels further over doesn't work. 
> (To the best I can figure, if we change the value to
> something more than 28, it'll work if you click on the
> button b/c I believe it recognizes it as a penDown,
> not as a ctlSelectEvent.)

sure your letting the os handle the penevents that are
inside the button/controls? :)

in your penDownEvent - go through all your 'controls' on
your form and get their bounds. if the pen is inside these
bounds, make sure the system handles it - else, handle it
yourself. 

its code that'll take less time to write up than this
email did *g* 

---
Aaron Ardiri                               [EMAIL PROTECTED]
CEO - CTO                                                  +46 70 656 1143
Mobile Wizardry                             http://www.mobilewizardry.com/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to