[Gambas-user] WebTextArea vs. TextArea controlling events

Bruce Steers bsteers4 at gmail.com
Thu Sep 29 16:45:54 CEST 2022


On Thu, 29 Sept 2022 at 15:10, Benoit Minisini <
benoit.minisini at gambas-basic.org> wrote:

> 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
> > line.
> >
> > This is for a program to train 10 fingers' typewriting.
> >
> > Regards
> > Rolf
> >
>
> 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.
>

did you add text features yet?
WebDrawingarea still lacks Paint.Font and Paint.Text() / Paint.RichText()
ability
I tried to implement it but i think my coding is not good enough
Respects
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220929/7c2c6956/attachment.htm>


More information about the User mailing list