property ViewY: integer;
ViewY is the first row visible at the top-left corner of the control, in pixels (for example, if the user has scrolled vertically by two rows then it will return 2 * ThumbHeight
). It is not relevant if GridWidth
= 0 (in which case it always returns 0).
You can set ViewY to simulate vertical scrollbar movement.
See also: ViewX