VeriSelectFormDef(AvailableFormDefs As String) As Long

Description

This event is fired when the Verify operator is about to select a form definition for an Unidentified form. (Unidentified must be selected as a form status in the Verify job description.) The event is called before the usual Select form definition dialog is displayed.

The AvailableFormDefs parameter is a string containing the names of all form definitions that the Unidentified form could be associated with.

To return the selected form definition type to the application, use SetFormDefSelection on the Application object.

Return values

Return value

Description

EV_OK

Normal return. The Select form definition dialog appears (API selection skipped).

EV_OK_ABORT 

The Select form definition dialog is skipped. Use SetFormDefSelection to return a form definition to verify. If you do not, the standard Select form definition dialog appears.

EV_ERROR

Execution stops and an error is reported.

Suggested usage

Use this event to automatically select a form definition for Unidentified forms, or to show your own dialog for selecting the form definition.

Remarks

Only fired in the Verify module.

Events in Verify