Skip to main content
A newer version of this page is available. .

TdxCustomTreeView.ScrollBy(Integer,Integer) Method

Scrolls the Tree View control’s content.

Declaration

procedure ScrollBy(ADeltaX: Integer; ADeltaY: Integer);

Parameters

Name Type Description
ADeltaX Integer

A horizontal offset from the current scroll position, in pixels.

ADeltaY Integer

A vertical offset from the current scroll position, in pixels.

Remarks

If you pass positive values as the ADeltaX and ADeltaY parameters, the procedure scrolls the tree right and down, towards the end. If you pass negative values, the procedure scrolls the tree left and up, respectively.

See Also