SelectedNext
SelectedNext
Get next selected item object
Read-only Runtime-only OBJECT reference property
Applies to: ListItem
Introduced in KCML version 5.03
This property returns an object reference for the next selected entry in a listbox. It will be NULL if there are no further items. The first selected item can be found by using the SelectedFirst object on the listbox control e.g.
count = 0
OBJECT c = .listControl1.SelectedFirst
WHILE OBJECT c <> NULL DO
count++
OBJECT c = c.SelectedNext
WEND