Hi, Boki:
In NG5.OnVerticalScroll event there is a Position param. In NG6.OnVerticalScroll there is no Position value.
How do I get the Position param value.
Thank you,
Chuck
I am using it in this code:
WITH Grid DO
BEGIN
// if using scroll bar, it can go past the last row index causing a list
// index out of bounds
IF (Position > RowCount - 1) OR (Position < 0) THEN
BEGIN
// 5/23/09
// 2/27/13 just exit without message
// DoFPShowMessage('You have scrolled past the grid row limits: ' + IntToStr(position), 2000);
// ShowMessage(IntToStr(position));
exit;
END;
Repaint; // needed for XE2 paint problems
END;