Copyright © 1998-2015 MultiMedia Soft

KeyPress event

Previous pageReturn to chapter overviewNext page

Remarks

Occurs when the user presses a character key while an object has the focus.

 

Syntax

Visual Basic

BtnEnh1_KeyPress (KeyChar As Integer)

 

Visual C++

void KeyPress (short KeyChar);

 

Parameter

Description

 

 

KeyChar

The ANSI code of the character corresponding to the pressed key