[Gambas-user] Howto: Cancel a keypress in a textarea
Stefano Palmeri
rospolosco at ...152...
Fri Nov 20 16:39:14 CET 2009
Il venerdì 20 novembre 2009 05:20:38 bbb888 ha scritto:
> I'm trying to capture and ignore, textwise, use of the tab key in a
> textarea control.
> I have set up an OnKeyPress handler that moves the focus to the next
> control, but the tab is still inserted in the textarea.text.
>
> tia
> bruce
PUBLIC SUB TextArea1_KeyPress()
IF key.Code = Key.Tab THEN STOP EVENT
END
More information about the User
mailing list