[Gambas-user] TextLabel malfunction?

Gianluigi gradobag at gradobag.it
Sun Oct 22 18:36:44 CEST 2023


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



More information about the User mailing list