Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Control - ScrollLeft Property

Panel
bgColor#2c3c4c

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

Member of Control (PRIM_CTRL)

Data Type - Integer

Details

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