[Gambas-user] Stopping keyboard events

Eilert eilert-sprachen at ...221...
Tue Mar 16 17:34:39 CET 2004


Hi,

is it possible to examine keyboard events for a control (text area) and 
to kill them if necessary?

I can examine them but do not find a way of killing them if needed. To 
let you have the background: A typewriting trainings program is to have 
the backspace key and any direction keys disabled while all letter keys 
may pass, enabling the user only to type in letters at the end of the text.

In the TextArea1_KeyPress() I have

	if key.Code = key.BackSpace then

and what do I do now?


Regards
Rolf





More information about the User mailing list