Handling keyboard strokes – Kofax DOKuStar Validation User Manual
Page 91
DOKuStar Validation Programming Manual
Page
• 87
Handling Keyboard Strokes
Keyboard strokes can also be handled by an add-in for DOKuStar Validation. The appropriate service is called
Keyboard
service. First you must provide the keyboard service of Validation.
The keyboard service has two functions
OnChar()
and
OnKeyDown()
. In
OnChar()
you get the final code
from the keyboard. That means if you press
Shift-A
, you get the final key code in
OnChar()
, in this case
65
. In
OnKeyDown()
you get the code for
Shift
and
a
. Normally you would implement hotkeys in
OnKeyDown()
.
For our example we assume that numbers should be suppressed in the edit control and that the user should get a
message box if he presses
F4
.
See also other documents in the category Kofax Computer Accessories:
- Communication Server 10.0.0 (187 pages)
- Communication Server 10.0.0 (44 pages)
- Communication Server 10.0.0 (137 pages)
- Communication Server 10.0.0 (109 pages)
- Communication Server 10.0.0 (10 pages)
- Communication Server 10.0.0 (16 pages)
- Communication Server 10.0.0 (77 pages)
- Communication Server 10.0.0 (8 pages)
- Communication Server 9.1 (35 pages)
- Communication Server 9.1 (203 pages)
- Communication Server 9.1 (130 pages)
- Communication Server 9.1 (16 pages)
- Communication Server 9.1 (113 pages)
- Communication Server 9.1 (9 pages)
- Communication Server 9.1 (85 pages)
- Communication Server 9.1 (8 pages)
- Communication Server 9.1.1 (204 pages)
- Communication Server 9.1.1 (38 pages)
- Communication Server 9.1.1 (127 pages)
- Communication Server 9.1.1 (16 pages)
- Communication Server 9.1.1 (114 pages)
- Communication Server 9.1.1 (9 pages)
- Communication Server 9.1.1 (85 pages)
- Communication Server 9.1.1 (8 pages)
- Communication Server 9.2.0 (203 pages)
- Communication Server 9.2.0 (54 pages)
- Communication Server 9.2.0 (126 pages)
- Communication Server 9.2.0 (14 pages)
- Express 1.0 (17 pages)
- Express 1.1 (21 pages)
- INDICIUS 6.0 (124 pages)
- INDICIUS 6.0 (104 pages)
- INDICIUS 6.0 (105 pages)
- INDICIUS 6.0 (48 pages)
- INDICIUS 6.0 (120 pages)
- INDICIUS 6.0 (15 pages)
- INDICIUS 6.1 (46 pages)
- Transformation Modules 3.5 (26 pages)
- Transformation Modules Invoice Pack 1.0 (26 pages)
- Transformation Modules Invoice Pack 1.0 (29 pages)
- DOKuStar Validation (109 pages)
- DOKuStar Validation (32 pages)
- DOKuStar Validation (24 pages)