PDFListBox.SelectedRowIndex
From Xojo Documentation
Property (As Integer )
aPDFListBox.SelectedRowIndex = newIntegerValue
or
IntegerValue = aPDFListBox.SelectedRowIndex
New in 2021r3
Supported for all project types and targets.
or
IntegerValue = aPDFListBox.SelectedRowIndex
New in 2021r3
Supported for all project types and targets.
Used to get or set the selected item number. The first item is zero.
Notes
A value of -1 means no selection. SelectedRowIndex may be set using the Properties pane to set the default value of PDFListBox control.
Example
The following example changes the selected item to the third item:
FruitList.SelectedRowIndex = 2