Determines which prompt is selected in a component.

Property of

ListBox, NoteBook, TabBox

Description

Use curSel to get or set which prompt in a ListBox, NoteBook, or TabBox is highlighted. The prompts are determined by the component’s dataSource property. The first prompt is prompt number 1.

Assigning a value to curSel fires the control’s onSelChange event, as if the change was made manually.