You might also have to use, LstMakeItemVisible( ListDept, numberOf Items);



                                                                                       
                                                               
                      "Khurram" <[EMAIL PROTECTED]>                                    
                                                              
                      Sent by:                                To:       "Palm 
Developer Forum" <[EMAIL PROTECTED]>                       
                      [EMAIL PROTECTED]        cc:                                     
                                                
                      .palmos.com                             Subject:  Updating List  
                                                               
                                                                                       
                                                               
                                                                                       
                                                               
                      10/17/2001 04:00 AM                                              
                                                               
                      Please respond to "Palm                                          
                                                               
                      Developer Forum"                                                 
                                                               
                                                                                       
                                                               
                                                                                       
                                                               




Hello everyone,

I am using two lists in a form.When user selects one state , all cities in
that state will be displayed in second list.However when user clicks on any
of the states, only one city is displayed in second list.I have checked the
values and 'city_darr' contains all the cities.Its just when i am trying to
display it , its displaying first value only.Below is my code for second
list...

LstSetListChoices(ListDept, city_darr,5);
LstSetSelection(ListDept,0);

Can any one tell me what can be the problem?

Ciao
Khuram Mir


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






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

Reply via email to