Versions Compared

Key

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

Control - ScrollTop Property

Panel
bgColor#2c3c4c

Top position of a vertically scrolled child control relative to its parent control

Member of Control (PRIM_CTRL)

Data Type - Integer

Details

The ScrollTop property returns the position of the control relative to its parent's upper boundary in pixels.

Unlike the Top property which doesn't change when the parent pane is scrolled horizontally, ScrollTop is continually updated when a scroll bar is moved.

A negative value means that the control is above the parent upper boundary, while a positive value means it's below.


See also

All Component Classes

Technical Reference