Pouquoi ne pas utilisé un StringGadget a la place d'un TextGadget
exemple:
If OpenWindow(0,0,0,270,160,"TextGadget",#PB_Window_SystemMenu | #PB_Window_ScreenCentered)
StringGadget(1, 10, 40,250,20,"Gadget texte",#PB_String_ReadOnly|#PB_String_BorderLess)
GadgetToolTip(1,"coucou")
Repeat ...