[Gambas-user] TextLabel malfunction?

Bruce Steers bsteers4 at gmail.com
Sun Oct 22 22:45:57 CEST 2023


Luck maybe.

According to the wiki <img> is not a valid richtext markup

https://gambaswiki.org/wiki/doc/richtext

BruceS

On Sun, 22 Oct 2023 at 17:37, Gianluigi <gradobag at gradobag.it> wrote:

> Hi,
>
> why if I use this code(*) does it only work with QT applications?
> (lamp.png is present in Data folder)
>
> Regards
> Gianluigi
>
> (*)
> Public Sub Form_Open()
>
>    Dim hTextLabel As TextLabel
>
>    With hTextLabel = New TextLabel(Me)
>      .Alignment = Align.Center
>      .H = 32
>      .W = 32
>      .X = 100
>      .Y = 50
>      .Text = "<img src=\"./lamp.png\">"
>    End With
>
> End
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231022/f440ebf5/attachment.htm>


More information about the User mailing list