Can this be a "FrameGadget" bug ?
See post here ...
https://www.purebasic.fr/english/viewt ... p?t=80408
Code: Select all
;--------------------------------------------------------------------------------------------------
;- TEST PROGRAM FRAMEGADGET
;--------------------------------------------------------------------------------------------------
EnableExplicit
;--------------------------------------------------------------------------------------------------
Declare CreateWindow()
;--------------------------------------------------------------------------------------------------
CreateWindow()
Repeat
Delay(10)
Until WaitWindowEvent() = #PB_Event_CloseWindow
End
;--------------------------------------------------------------------------------------------------
Procedure CreateWindow()
If OpenWindow(0, 0, 0, 320, 250, "FrameGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
SetWindowColor (0, $004000)
FrameGadget(3, 10, 190, 300, 50, "", #PB_Frame_Flat)
EndIf
EndProcedure
;--------------------------------------------------------------------------------------------------
Thanks,
marco