Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatic scroll in listbox
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00500340
Message ID:
00500559
Views:
20
>

>How did you "select" the default item?
>Try something like this in the INIT of the form:
>
this.lstBox.listindex = x
>*!* x is the index number (should be the same number as in the array)
>*!*  you wish to be the default selected item
>
>HTH,

I select the proper item like .lstYears.Value = .lstYears.List(50), but this is not the problem. The problem is that the highlighted item should appear in the middle of the list, so the user can see the next two items without scrolling down first.
Christian Isberner
Software Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform