SetPanelExPageScrolling

www.progui.co.uk  Top  Previous  Next

SetPanelExPageScrolling()

Syntax

Success = SetPanelExPageScrolling(Panel.i, Page.i, Flags.l, Value.l)

Description

 

Sets whether a PanelEx page's canvas is scrollable.

Panel.i is the ID/Handle of the PanelEx and Page.i is the Index/ID of the page that you want to set the scrolling for.

 

Currently the #PNLX_AUTOSCROLL flag is supported which means scrollbars at the bottom and/or right of the page will appear when any control inside the page is positioned outside of the viewable area. Value.l can be true or false to enable/disable the auto scroll feature.

 

The PanelEx is fully nestable and the scrollable area takes into account the border's mask if there is one.

 

Returns true for success or zero for failure.

 

PanelEx Index