Dinesh- An alternative explanation is that you are returning handled==true on ALL control select events.
The expected sequence of events when the user taps on a popup trigger are: 1. penDown (user presses on trigger) 2. ctlEnter (spawned by CtlHandleEvent when it gets penDown) 3. penUp (user releases trigger) 4. ctlSelect (spawned by CtlHandleEvent when it gets penUp) When FrmHandleEvent gets the ctlSelect event, it calls FrmPopupList which calls LstPopupList. If an item is selected by the user, you get the event: 5. popSelect (spawned by FrmPopupList). If your form's event handler swallows the control select, the list will not appear and you will get no popSelect event! -bob mckenzie, palmsource pdx. -----Original Message----- From: Joe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 5:43 AM To: Palm Developer Forum Subject: Re: ctlSelect v/s PopSelectEvent --- Dinesh Kumar wrote: > I'm having a Popup list[i.e, using a list and a popup trigger] > popup trigger always takes ctlSelect and PopSelectEvent. > > i'm handling the selection of list items with PopSelectEvent > now i do have two buttons also in my form.for them if i use > ctlSelectEvent then popSelectEvent is overlooked and the > selection of list goes first to default of the ctlSelectevent > switch. the other way if use only ctlSelectEvent and handle > the selection of list after identifying my popupTrigger then > the list doesn't popup and the first listitem is always > selected and break.i can send the code if anybody wants Help > me out. I'm not sure I understand what you're saying, so you might have to send some code to clarify. It sounds like you are saying that the code for ctlSelectevent and popSelectEvent get executed at the wrong time. This may be because your select statement in your form handler is not properly written. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
