PDFComboBox.SelectedRowIndex

From Xojo Documentation

Property (As Integer )
aPDFComboBox.SelectedRowIndex = newIntegerValue
or
IntegerValue = aPDFComboBox.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 PDFComboBox control.

Example

The following example changes the selected item to the third item:

FruitCombo.SelectedRowIndex = 2