User guide
DOKuStar Validation Programming Manual Page • 101
Character correction mode
For editing single characters, you can use the character correction mode feature. This feature is realized by an
additional ActiveX Control named
ValRejectEdit, using the UserEditData service and will replace the default
EditControl.
The following example demonstrates the integration of the character correction mode feature and replaces the default
Edit Window of a (user controlled) Validation user interface by the ValRejectEdit Control.
Step 1
Open DOKuStar Validation in Administrator Mode with an existing or new validation project,. change to the
VBA studio, expand the nodes and double-click the
TheApplication node.
Step 2
Now choose References from the Tools menu and add the ODT DOKuStar Validation (Services) type
library to the project. From the same menu select the
Browse… button, change to the common files folder:
<system drive>:\program files\common files\ ODT-OCE\DOKuStar\
and add
ValRejectEdit.dll as reference to your project.
Now the project will contain the following references: