[Gambas-user] GTK versus QT

Bruce Steers bsteers4 at gmail.com
Thu Feb 23 14:31:09 CET 2023


On Thu, 23 Feb 2023 at 13:25, Bruce Steers <bsteers4 at gmail.com> wrote:

> What exactly are you testing for here...
>
>    If vText Match "." Then vText = Replace(vText, ".", ",") '<-------
> localisation Europa
> ?
> It looks like it could be the problem to me.
> https://gambaswiki.org/wiki/doc/pcre
>
>
> maybe you just want
> If vText = "."
>

as it's just one char from the keypress event using Replace seems heavy too.

If vText = "." then vText = ","
should suffice.

BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230223/5cf26fb8/attachment.htm>


More information about the User mailing list