Hello, I am coming from the german forum first time here and I do not
know if I am here on the correct thread.
I just want to ask if there is a chance the old old
hidegadget-on-panelgadget bug will loose its long life soon....
I have tested on PB 3.93 Beta and the bug is still existing.
I know about the workarounds but all will cause some little
unprofessional flashes when redrawing the screen, especially
if the program is running on slow PCs.
I know there is a lot to do and the progress of PB is fantastic now and I will
say thank You to the whole team, but I would be very happy if this
bug could be fixed.
Thank You
Team100
Here is a code for testing:
Code: Select all
If OpenWindow(0,0,0,322,220,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"PanelTest") And CreateGadgetList(WindowID(0))
PanelGadget (0,8,8,306,175)
AddGadgetItem (0,-1,"Panel 1")
ButtonGadget(1, 10, 15, 100, 24,"Hide this Button")
AddGadgetItem (0,-1,"Panel 2")
CloseGadgetList()
ButtonGadget(2, 10, 190, 120, 24,"Restore Panel Button")
Repeat
WinEvent.l = WaitWindowEvent()
If WinEvent = #PB_Event_Gadget
Select EventGadgetID()
Case 1
HideGadget(1, 1)
Case 2
HideGadget(1, 0)
EndSelect
EndIf
Until WinEvent.l =#PB_Event_CloseWindow
EndIf