ListBox-SetCurSel

Имя функции dcl-ListBox-SetCurSel
Синтаксис   (dcl-ListBox-SetCurSel <CONTROL> ItemIndex [типа Long])
Возвращаемый тип Boolean (T - успешно; иначе NIL)
Подходит к List Box

This method sets the currently selected item in the list box. An ItemIndex value of -1 deselects the current selection. This method does not work for multiple-selection lists (see SelectionStyle).