Henrik, Try setting handled to true in the popSelectEvent code. This will effectively remove the event from the event queue, and prevent your popup label from being overwritten by the selected item.
Al. ----- Original Message ----- From: "Henrik Fredriksson" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 7:15 AM Subject: poptriggers, lists.. > Hi > > I am having some problems (as usuall). I have a list and a poptrigger, the > thing is that in the list I want to display more charachters for the > selections/items than what will be shown on the trigger once I select an > item, I want to truncate the selected item to lets say 10 characters. If I > connect the trigger and the list (by setting the list ID for the trigger in > Constructor) and try to call CtlSetLabel when I receive popSelectEvent the > text I put myself gets overwritten. The other solution is not to connect > them, but then I must handle all events myself for selecting, updating, and > pressing outside the list. This seems to much work, can't I override what > happens by default when a list and a trigger is connected? Or is there > another solution that I havn't though about? > > /Henrik -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
