Hi,
Like Andreas already said, you can use the rowfocuschanged event.
To know if you are viewing the last page, you can do something like:
string ls_setting
ls_setting = dw1.Object.DataWindow.LastRowOnPage
// or: ls_setting = dw1.Describe("DataWindow.LastRowOnPage")
if dw1.rowcount() = long(ls_setting) then
// you are viewing the last page of data
end if
This example will only prove that you have visited the last page. If you want to control that ALL pages have been visited, you have to some more coding.
regards.