If you have a popup list specifying a list with a popup trigger, you usually don't have the need to handle the ctlselect event for the popup trigger. The system will do it for you and set the lable based on the list selection. Unless you want to set the label different from what you have selected in the list or handle a dynamic list. For example, if you select "creation data" from the list and you want to display a label "c.data", the automatic behavior cannot help.
If you choose to handle the select event for the popup trigger and popup the list yourself, you need to return true for the PopSelect event. Otherwise, the list may popup twice. However you don't have to return true when there isn't a list associated with the trigger in your resource specification (popuplist). So, it depends on if you specified the popuplist connecting popup trigger and list in the resource. Max --- Jay Bloodworth <[EMAIL PROTECTED]> wrote: > The app I'm working on has the idiomatic popup trigger in the upper > right corner of several forms that display lists of records. I handled > ctlSelect for the trigger by using CategorySelect and redrawing the list > if necessary. Category select runs the popup and the edit categories > dialog if necessary, and sets the label on the trigger after the > category has been selected. What I need to know is should I return true > or false from my event handler in this case. It doesn't seem to make a > difference, but I'm concerned that doing the wrong thing might be > introducing some subtle bug. __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
