Button.KeyPress
- Updated2025-07-21
- 1 minute(s) read
Button.KeyPress
Syntax
ControlName_KeyPress( keyAscii)
Applies To
Purpose
Occurs when the user presses a key while the control has the input focus. This event occurs after the Button.KeyDown event.
Parameters
keyAscii As Integer
[In/Out] Specifies the ASCII value of the pressed key.