JVCL Help:TJvCustomItemViewer.ScrollBy

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Scroll control contents.


Pascal

 procedureScrollBy(DeltaX: Integer; DeltaY: Integer);


Parameters

Parameters Description
DeltaX: Integer The number of pixels to scroll the control horizontally. This value can be negative.
DeltaY: Integer The number of pixels to scroll the control vertically. This value can be negative.


Description

Call ScrollBy to scroll the contents within the control. Applications seldom need to call the ScrollBy method unless they implement their own scrolling interface rather than relying on a scroll bar. The DeltaX parameter is the change in pixels along the X axis. A positive DeltaX value scrolls the contents to the right; a negative value scrolls the contents to the left. The DeltaY parameter is the change in pixels along the Y axis. A positive DeltaY value scrolls the contents down; a negative value scrolls the contents up.


See Also

TJvCustomItemViewer.ScrollIntoView


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page