choiceGetSelectedIndex


function choiceGetSelectedIndex(choiceID: integer):integer;

The function returns te index of the selected choice group item, or -1 if no item is selected. For CH_MULTIPLE choice groups, -1 is always returned, and choiceIsSelected should be called instead.

See also: formAddChoice, choiceIsSelected