Hi,
you can do it as follows:
|
Source code
|
1
2
|
List1.ListIndex = 1
List1.ensureIndexIsVisible 1
|
ListIndex() defines the selected listitem.
ensureIndexIsVisible() srolls the list so that the addressed item is shown.
To find out what is possible, you can always press the F1 key in the Jabaco IDE.
This allows you to snoop around the object model.
ListBox is shown under Jabaco.jar in VB. Doubleclick on the object to get to know all the methods and properties.
Another option would be to download the source code of the Jabaco framework and look at the respective source file.
There is hope that some future versions of Jabaco will be accompanied by more documentation.
Cheers!
A1880