[Gambas-user] WebTextArea vs. TextArea controlling events
benoit.minisini at gambas-basic.org
Thu Sep 29 16:09:33 CEST 2022
Le 29/09/2022 à 15:48, Rolf-Werner Eilert a écrit :
> I see your point, Benoit. This is a very special case indeed. Maybe
> Bruce Steers' idea of adding java code on demand would be a way?
> I wanted to keep the user from clicking somewhere and adding text (and
> from going somewhere with the cursor keys and writing or deleting any
> text anywhere). The only thing allowed is to add text at the end of the
> This is for a program to train 10 fingers' typewriting.
Maybe you should not use a WebTextBox then? With a WebDrawingArea, you
can now (in the development version) catch key press events and draw
what you want, so that you can reimplement a minimal edit field that
exactly fits your needs.
More information about the User