P
Patrick
I have a datagrid on a property tab sheet. Lets say that the grid
contains 50 rows with 12 displaying on the first page. For this
example lets say the user scrolls down to record 3 and records 3-14
display. The user clicks off to another tab and comes back. They do
not select anything on the grid. I want to remember when they come
back to scroll to position 3 at the top through 14 on that page. I
know how to handle this if a record is selected on the grid but that
is not the case in this example. I was looking at the paint method to
get the rows and the scroll event but I don't know how to capture the
rows displayed in the view of the grid. Is there a proper sequence of
events to capture which rows are in view? Any overriden methods I
should be using? Thanks for your help.
contains 50 rows with 12 displaying on the first page. For this
example lets say the user scrolls down to record 3 and records 3-14
display. The user clicks off to another tab and comes back. They do
not select anything on the grid. I want to remember when they come
back to scroll to position 3 at the top through 14 on that page. I
know how to handle this if a record is selected on the grid but that
is not the case in this example. I was looking at the paint method to
get the rows and the scroll event but I don't know how to capture the
rows displayed in the view of the grid. Is there a proper sequence of
events to capture which rows are in view? Any overriden methods I
should be using? Thanks for your help.