I am developing an application using Popup Triggers and List resources
to provide the user one of many selection. The given trigger is associated
with a list. The list in turn is marked unusable such that it appears only
when the trigger is selected.

Question 1 - After selecting the trigger the list appears automatically
on the screen, and once a selection is made, the text of that selection
automatically replaces the trigger label. When the program is started, and
the user has not yet used the control, how do I set the label on the
popup trigger. I want to set this to a previously selected value stored
in the application preferences. By default it comes up with the label
hardcoded in the resource. I cannot find any direct way to set the
trigger label, but have noticed that the Palm Preferences application
labels it popup triggers with previously selected preferences. How does
it do it?

Question 2 - I want to be notified whenever a selection is made from the
list. I notice however that the lstSelectEvent events are not sent to
the application for this list. This could be because the list is marked
unusable. Palm documentation indicates that a list associated with a
popup trigger should be marked unusable. This makes sense since the list
should not be visible unless the trigger is selected. How then can I be
notified of changes in selection? 

Reply via email to