TopRow

Hi, changing the TopRow property to scroll the content of a grid the fixed row disappear.

Is a bug or there is another way to do this?



Thanks!



AdvStringGrid 7.4.2.1

c++2009

Cannot be reproduced.

Was retested with default grid on the form and the code:


  advstringgrid1->RowCount = 100;
  advstringgrid1->RandomFill();
  advstringgrid1->TopRow = 50;

and the fixed row remains visible.

ok thanks

I'll do some more tests

Very interesting to be able to scroll in the AdvStringGrid, thanks !
Just be care with fixed cols/row if any, to take into account.
Bye.
Marc.
Just a little missing in the AdvStringGrid doc (August 2019), without any references to very interesting TopRow & LeftCol properties on this component !

These are properties of base class TStringGrid, so these are in the standard VCL doc.

http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/!!MEMBEROVERVIEW_Grids_TStringGrid.html