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