Control - ScrollLeft Property

Left position of a horizontally scrolled child control relative to its parent control

Member of Control (PRIM_CTRL)

Data Type - Integer


The ScrollLeft property returns the position of the control relative to its parent's left boundary in pixels.
Unlike the Left property which doesn't change when the parent pane is scrolled horizontally, ScrollLeft is continually updated when a scroll bar is moved.
A negative value means that the control is to the left of the parent left boundary, while a positive value means it's to the right.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020