Click or drag to resize

Window.KeyDown Method

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

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD KeyDown(
	oKeyEvent
) AS USUAL CLIPPER
Request Example View Source

Parameters

oKeyEvent (Optional)
Type: Usual
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