ChoiceDialog Object - 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

This object allows you to build and display a choice window. It is often used when more than one record is retrieved by a database lookup to allow the operator to select the correct record.

The ChoiceDialog object is applicable to the following phases:

  • Post Extraction

  • AnyApp Post Extraction

  • Pre-Verification

  • Interactive

  • Interactive FKey

  • Post Verification

Property

Description

Applicable Events

DisplayImage

Specifies if the image is displayed with the grid. For more information, see DisplayImage (Property) (page DisplayImage (Property)).

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

DualListBox

Changes the appearance of the ChoiceDialog to display the image at the top with the choices and selected value below. For more information, see DualListBox (Property)(page DualListBox (Property)).

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

GetCount

Returns the number of items added to the ChoiceDialog. For more information, see GetCount (Property)(page GetCount (Property)).

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

GetIndex

Returns an integer representing the index of the value selected in the window. For more information, see GetIndex (Property) (page GetIndex (Property)).

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

GetSelection

Returns the value selected by the user in the ChoiceDialog. For more information, see GetSelection (Property) (page GetSelection (Property)).

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

Method

Description

Applicable Events

AddItem

Adds items to the list in the ChoiceDialog. For more information, see AddItem (Method) (page AddItem (Method)).

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

DoModal

Causes the ChoiceDialog to display, and when the user selects a value, returns True. For more information, see DoModal (Method) (page DoModal (Method)).

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

ResetContent

Resets the contents of the ChoiceDialog. For more information, see ResetContent (Method) (page ResetContent (Method)).

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

SetFont

Use to set the font and font size for all cells in the grid on the ChoiceDialog. For more information, see SetFont (Method)(page SetFont (Method)).

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

SetInitialViewArea

Used to set the area of the bitmap to display in the ChoiceDialog. For more information, see SetInitialViewArea (Method) (page SetInitialViewArea (Method)).

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

SetTextColor

Used to set the text color of the listbox items. For more information, see SetTextColor (Method) (page SetTextColor (Method)).

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

SetTitle

Used to set the title to appear at the top of the ChoiceDialog. For more information, see SetTitle (Method) (page SetTitle (Method)).

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

The following image illustrates the default appearance of ChoiceDialog:

The following image illustrates the appearance of ChoiceDialog when DualListBox is set to True: