Or it might not be the value of "handled", but Jenni might have a "return true;" somewhere in the handler function by mistake. So depending on the current conditions, she might get to the bottom of the function and return "handled" and other times might just bail out in the middle, returning "true". It's the same error the Greg mentioned, but a different way of getting it.

Jenni, you might know this already, but what Greg is saying is that the popup list will only appear when it gets told to after a pendown event. But if your code processes the pendown event first, and returns true, then the system says "OK that pendown was handled, so I don't need to do anything else that might usually happen after the stylus press, like popping up the list at that pen location".

Bob.

Greg Sepesi wrote:

Are you confident the 'handled' return value for your list control event
handler is set correctly?


(More than once, I've caused consistent but not quite right table
operation by not paying proper attention to the 'handled' flag.)

Jennifer Fell wrote:


Yes, the popup lists are always working fine and correctly ... only takes
more than 1 or 2 clicks to respond (as no event gets generated for those
clicks).

Thanks for looking into the problem.

Jenni

----- Original Message -----
From: "Greg Sepesi" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, September 29, 2004 3:04 PM
Subject: Re: problem: popup lists require multiple clicks to respond...
please help



Jennifer Fell wrote:


Hello Everybody,

I have multiple popup lists in my application and child popup lists are
display/hidden based on the selection of parent popup lists (child or
parent
are my terms, just for convenience in distinguishing). However, at some
point, the child lists require more than 1 or 2 clicks to respond. I
checked
and found no event is being generated on the 1st or 2nd click. I tried a
lot
to figure out the reason, but didn't find anything suspicious. Is anybody
familiar with this problem? Please help.

Thanks a lot.

Regards,
Jenni


"However, at some point, the child lists require more than 1 or 2 clicks
to respond."

Does that mean your lists seem to work correctly for a while?

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








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

Reply via email to