Description
Read-only. Returns an integer representing the index of the value selected in the window.
Applicable Events
Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify
Syntax
object.GetIndex
Parameters
Object is a reference to the ChoiceDialog or GridChoice Dialog object. For more information, see ChoiceDialog Object (page ChoiceDialog Object) or GridChoiceDialog Object (page GridChoiceDialog Object).
GetIndex is the command.
Example
ChoiceDialog.DoModal
If GetChoice.GetIndex > 0 Then
MsgBox "Value chosen."
End if