SLO Revo News wrote:

I tried the LstSetTopItem, LstDrawList and LstScrollList functions but those don't make any change to the screen. When I select an item from the list manually what I select gets displayed correctly but I want to achieve this from program control when the form is displayed.


LstSetTopItem requires that you redraw the list. Did you do that?

You might also want to try LstSetSelection.

I tried this:

      LstSetSelection(DateList, _Prefs.SelectedDateType);
      LstSetTopItem(DateList, _Prefs.SelectedDateType);
      LstDrawList(DateList);

Again, the correct item is selected if I view the list but still the first item in the list is what's displayed.

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

Reply via email to