ButtonEx ActiveX Control Reference
Occurs when the user presses and releases an ANSI key.
Syntax
Sub object_KeyPress([index,] KeyAscii)
The KeyPress event syntax has these parts:
| Part | Description |
| object | A ButtonEx object. |
| Index | An integer that uniquely identifies a control if it's in a control array. |
| KeyAscii | An Integer value. Returns a standard numeric ANSI keycode. Keyascii is passed by reference; changing it sends a different character to the object. Changing keyascii to 0 cancels the keystroke so the object receives no character. |
Problems, Suggestions, Praise concerning the documentation? Please send feedback.