Ondocumentactivated, Ondocumentdeactivated, Ondocumentdeleted – Kofax DOKuStar Validation User Manual

Page 48

Advertising
background image

DOKuStar Validation Programming Manual

Page

44

OnDocumentActivated

This event occurs whenever a new document is selected.

This may happen explicitly (e.g. when the user selects a different document in the tree view) or implicitly (e.g. the
user moves from field to a field and the document changes).

Definition:

Private Sub doc_OnDocumentActivated(ByVal Document As Document, ByVal PreviousDocument As
Document)

The current document and the previous document come as parameters.

OnDocumentDeactivated

This event will be fired when the current document is deactivated.

This may happen explicitly (e.g. when the user selects a different document in the tree view) or implicitly (e.g. the
user moves from field to a field and the document changes).

Definition:

Private Sub doc_OnDocumentDeactivated(ByVal Document As Document, ByVal NextDocument As Document)

OnDocumentDeleted

This event will be fired when a document is deleted.

This may happen explicitly (e.g. when the user deletes a document in the tree view, or when two documents are
joined) or by scripting code.

Definition:

Private Sub doc_OnDocumentDeleted(ByVal Document As Document)

Advertising