Blitz3D+ Command Reference

SetPanelScrollY panel,y

Parameters

panel - panel gadget made scrollable with SetPanelScroll
y - content position, in logical pixels, to show at the panel's top edge

Description

Scrolls a scrolling panel. The position is clamped between 0 and the point where the bottom of the content meets the bottom of the panel, so SetPanelScrollY panel,0 always returns to the top.

To show a particular child, scroll to its GadgetY. A panel that does not scroll ignores this command.

Requires Extended mode.

See also: SetPanelScroll, PanelScrollY.

Index