Back to Devexpress

TdxCustomTreeView.ScrollBy(Integer,Integer) Method

vcl-dxtreeview-dot-tdxcustomtreeview-dot-scrollby-x28-system-dot-integer-system-dot-integer-x29.md

latest989 B
Original Source

TdxCustomTreeView.ScrollBy(Integer,Integer) Method

Scrolls the Tree View control’s content.

Declaration

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

Parameters

NameTypeDescription
ADeltaXInteger

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

TdxCustomTreeView Class

TdxCustomTreeView Members

dxTreeView Unit