Only respond to penup and pendown events when they occur in the area of the form you 
expect.  Otherwise,  leave the return (usually "handled") false.  For penup, you might 
only want to respond when pendown in a valid area preceded the penup.  The key is that 
returning false from the handler allows other handlers to process the event, including 
the one that take care of buttons.

-----Original Message-----
From:   Hitesh Patel [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, February 23, 2000 11:47 PM
To:     Palm Developer Forum
Subject:        Handling penUpEvent &penDownEvent

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.

Hitesh

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to