Click or drag to resize

Window.KeyDown Method (Typed)

X#
Provide a method that is invoked when a key on the keyboard is pressed.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD KeyDown(
	oKeyEvent AS KeyEvent
) AS USUAL
Request Example View Source

Parameters

oKeyEvent
Type: KeyEvent
The KeyEvent object that describes what key was pressed.

Return Value

Type: Usual
Remarks
Tip Tip
Important! This is a callback method used by X#. Normally, it should not be called in your application code.
This event handler is called only if the window has the input focus. In addition, it is rarely overridden due to the existence of edit controls. If it is overridden for a dialog window, it should call the owner handler (this ensures that tabbing to controls in Windows still works).
See Also