I found this code lines on the Palm os Programming Bible:

ListType *list = GetObjectPtr(PopupList);
ControlType *popTrig = GetObjectPtr(PopupTrigger);
Char *label = CtlGetLabel(popTrig);
StrCopy(label, LstGetSelectionText(list,LstGetSelection(list)));
CtlSetLabel(popTrig, label);

this is supose to set the current selection on a PopupTrigger element.
It does this, but it also unables the next selections: when I press the popup 
on my form,the rest of the elements don't apear anymore...
Regards, Iulia

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

Reply via email to