Special issues, Events caused by the file menu – Kofax DOKuStar Validation User Manual

Page 97

Advertising
background image

DOKuStar Validation Programming Manual

Page

93

Special Issues

Events Caused by the File Menu

One topic, that has not been discussed yet, is: When will the integration code be called? How does it interact with the
Validation user interface?

In the Validation user interface, there are some menu items that deal with projects and data:

Standard actions take place when the validation operator uses the following commands of the

File

menu:

New:

Creates a new Validation project. The commands

New

and

Open

will be disabled afterwards, the others

will be enabled.

New

is only available in administrator mode.

Open:

Displays a dialog box where the operator can choose a Validation project file which shall be opened. The

commands

New

and

Open

will be disabled afterwards, the others will be enabled.

Close:

Closes the open project file. The commands

New

and

Open

will be enabled afterwards, the others will be

disabled.

Save:

Saves the project to the file.

Save

is only available in administrator mode.

ImportData:

No standard actions take place.

ExportData:

No standard actions take place.

The enabling/disabling of certain commands will also happen if you do the corresponding actions in your code: If,
for example, you have a statement

App.LoadProject

in your code, the commands

New

and

Open

will also

be disabled afterwards, and the

Close

command etc. will be enabled.

Advertising