Code : Tout sélectionner
Procedure upadate()
Repeat
HideGadget(0, 1)
Delay(500)
HideGadget(0, 0)
ForEver
EndProcedure
If OpenWindow(0,0,0,180,120,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"") And CreateGadgetList(WindowID(0))
ButtonGadget(0,10,10,160,50,"OK") : button = #True ; Button is displayed
CreateThread(@upadate(),0)
Repeat
ev.l= WaitWindowEvent()
Until ev = #PB_Event_CloseWindow
EndIf