Hi,

if(eventP->data.popSelect.controlID==MainFormPopupTrigger)
{
               sel=LstGetSelection (lst);      // lst is the list ptr;
label = LstGetSelectionText (lst, sel); CtlSetLabel (ctl, label); // ctl is the control ptr;
               LstSetSelection (lst, sel);
}

This code will select the value in the list, with respect to the popup trigger value.

Ekra wrote:

LstSetSelection, is working only if u have direct list on a form. But in  my 
case List opens after clicking pop up trigger. Suppose I have put a label on my 
pop up trigger now if want to select that label using LstSetSelection it 
does’nt works

Any help would be appriciated
thanks in advance



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

Reply via email to