"Hitesh Patel" <[EMAIL PROTECTED]> wrote in message
news:2963@palm-dev-forum...
> I am using Buttons in my form. I need to respond to penUpEvent or
> penDownEvent in the same form. If I write the code to respond to the
> penDownEvent the buttons stop functioning and if I respond to a penUpEvent
> then when I switch to this form from some other form the penUpEvent code
> is directly executed. Please tell me how do I handle these events with
> other events.
First define a gadget for the area you're interested in. On penDownEvent,
use FrmGetObjectBounds to get the coordinates then RctPtInRectangle to
determine if you need to intercept the tap. If not, return false.
Stephen Best
Bitware Australia
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html