worksheet scroll function
bool wks_scroll_into_view( Worksheet & wks, int nCol, int nOffset = 0, bool bCol = true, bool bCheckInView = true )
true if scrolled into view, or if already in view and nothing is done when bCheckInView is true.
false if error
Ex1
void wks_scroll_into_view_Ex1() { //make sure a worksheet is active in current project Worksheet wks=Project.ActiveLayer(); if(wks_scroll_into_view(wks,15,0,false,true)) out_str("scroll to row 15 "); }
origin.h