Sorry Andy,

I am too busy to analyze your code, but I must admit that this is a rather
unusual thing to use popup trigger.

This is what I would suggest you:

1. Don't associate trigger with list: let it be two independent objects for
PalmOS.

2. Process ctlSelectEvent for the trigger and Show/Hide list there. 
   You have to return 'true' to prevent system processing of ctlSelectEvent.

Hopefully this will help you.
Cheers, M.




-----Original Message-----
From: Andy Yeong [mailto:[EMAIL PROTECTED]]
Sent: Monday, 7 January 2002 6:04 AM
To: Palm Developer Forum
Subject: How to remove a listbox ?


Hi,

I have a trigger button which will display
a list box when depressed.

After displaying the list box, the 2nd time
the user click on it again, the list box suppose
to dissapear from the form.

So far, I'm able to display the list box when the
user click on the button, however I couldn't quite
clear up the list box. Although the list box did
clear up abit from the form, a bit of it still left
behind.

Anybody got any example to this ?


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

Reply via email to