Code: Select all
If OpenWindow(0, 0, 0, 270, 160, "TextGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
TextGadget(0, 10, 10, 250, 20, "TextGadget Standard (Left)")
TextGadget(1, 10, 70, 250, 20, "TextGadget Center", #PB_Text_Center)
GadgetToolTip(0, "The help says I won't work, but I do!")
GadgetToolTip(1, "So do I!")
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf