BetoValle Messages: 204 Registered: September 2020 Location: Brasil Valinhos SP
Experienced Member
Hi,
the procedure
ReportView::ScrollInto(int toppage, int top, int bottompage, int bottom)
allows you to navigate through the pages using the scrollbar, but I haven't really found the meaning and also an example of the parameters toppage, top, bottompage and bottom.
could someone set an example ?
how it works ?
BetoValle Messages: 204 Registered: September 2020 Location: Brasil Valinhos SP
Experienced Member
Hi,
Ok! this worked within the ReportWindow class:
void ReportWindow::edgotoPage(){
String s = edP.GetData();//edP * numeric field
int np; // number of page
np=StrInt(s);
pg.ScrollInto(np-1,np-1,np,np);
}
note: see the image attached considerations about above routine