property ViewX: integer;
ViewX is the first column visible at the top-left corner of the control, in pixels (for example, if the user has scrolled horizontally by two columns then it will return 2 * ThumbWidth
). It is only relevant when GridWidth
has a value greater than zero (otherwise it always returns 0).
You can set ViewX to simulate horizontal scrollbar movement.