ScrollAreaGadget() and the scrollbars (misleading help file)
Posted: Sat Feb 06, 2016 3:07 pm
Bug or help is wrong.
It is written that if the scroll area is smaller than the gadget size the scrolling is disabled.
In my opinion this means that also the scrollbars are hidden.
My example:
If you reduce both values from 7 to 6 (796 and 596) the scrollbars disappears.
But 797 is < 800 and 597 is < 600.
Bug or fault in help (at least german)
PB 5.42b1 x86 on Win 7 x64.
Bernd
It is written that if the scroll area is smaller than the gadget size the scrolling is disabled.
In my opinion this means that also the scrollbars are hidden.
My example:
Code: Select all
OpenWindow(0, 0, 0, 800, 600, "Test", #PB_Window_SystemMenu|#PB_Window_ScreenCentered)
ScrollAreaGadget(0, 0, 0, 800, 600, 797, 597)
Repeat
Event = WaitWindowEvent()
Select Event
Case #PB_Event_CloseWindow
Exit = #True
EndSelect
Until Exit
But 797 is < 800 and 597 is < 600.
Bug or fault in help (at least german)

PB 5.42b1 x86 on Win 7 x64.
Bernd