Move sheet on screen
Posted: Sun Jan 02, 2022 4:36 pm
Hello Lars.
Regard: Delpi 10.3 and your component version: 6.01.07
Over the xmas iv'e been trying to figure out how to by code, move sheet on screen to location in sheet 0, col 14 and row 150 using this code:
XLSGrid1.XLS[0].SelectedAreas.CursorCell( 14, 150 );
XLSGrid1.Invalidate;
or this:
XLSGrid1.XLS.Sheets[0].SelectedAreas.CursorCell( 14, 150 );
XLSGrid1.Invalidate;
Either of this piece of code work
What we are seeking, is moving sheet on location C,R and make cell at C,R location, visible to user.
If this is wrong method, then please reply here with correct one.
I include here project link to ZIP file on our fileserver, where this demonstration of this does not work. I urge you to download it and tested your self. https://skrar.bondi.is/data/public/d68d86
Anyhow i want solution on this.
Best rg.
Regard: Delpi 10.3 and your component version: 6.01.07
Over the xmas iv'e been trying to figure out how to by code, move sheet on screen to location in sheet 0, col 14 and row 150 using this code:
XLSGrid1.XLS[0].SelectedAreas.CursorCell( 14, 150 );
XLSGrid1.Invalidate;
or this:
XLSGrid1.XLS.Sheets[0].SelectedAreas.CursorCell( 14, 150 );
XLSGrid1.Invalidate;
Either of this piece of code work
What we are seeking, is moving sheet on location C,R and make cell at C,R location, visible to user.
If this is wrong method, then please reply here with correct one.
I include here project link to ZIP file on our fileserver, where this demonstration of this does not work. I urge you to download it and tested your self. https://skrar.bondi.is/data/public/d68d86
Anyhow i want solution on this.
Best rg.