I added the following code in the frmOpenEvent after
the call to FrmDrawForm:

/* update list item selection */
LstSetSelection(lst, gSelectedLstInd);
                
/* update the poptrigger label */
CtlSetLabel(ctlP, LstGetSelectionText(lst,
gSelectedLstInd));

1. the call to LstSetSelection(..) works great but the
call to CtlSetLabel(..) gives me the "low memory"
error.

2. Is there a way to make the popup list scroll to the
selected item? Seems like LstSetSelection(..) selects
the item but doesn't scroll to it.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

Reply via email to