GetIndex (Property) - OCR for AnyDoc - Foundation 23.1 - Foundation 23.1 - AnyDoc - external

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License

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