Recent

Author Topic: AutoAdvance bug in fpspreadsheetgrid.pas  (Read 453 times)

slowcall

  • Newbie
  • Posts: 2
AutoAdvance bug in fpspreadsheetgrid.pas
« on: February 23, 2025, 02:40:56 pm »
Hello,

I dropped TsWorksheetGrid component on design form, modified and saved AutoAdvance property. But AutoAdvance value didn't changed.

I think there is a bug in fpspreadsheetgrid.pas. After I modified two lines of code, then It works.


first  , instead of
Code: Pascal  [Select][+][-]
  1.    property AutoAdvance;


overriding property
Code: Pascal  [Select][+][-]
  1.    property AutoAdvance default aaDown;    


and it needs to be deleted.
Code: Pascal  [Select][+][-]
  1. constructor TsCustomWorksheetGrid.Create(AOwner: TComponent);
  2. begin
  3.   ...
  4.  
  5.   AutoAdvance := aaDown; //delete this
  6.  
  7.  
  8.   ...
  9. end;
  10.  


I hope it will be fixed soon.

wp

  • Hero Member
  • *****
  • Posts: 12869
Re: AutoAdvance bug in fpspreadsheetgrid.pas
« Reply #1 on: February 23, 2025, 05:32:17 pm »
Fixed in svn r9643.

slowcall

  • Newbie
  • Posts: 2
Re: AutoAdvance bug in fpspreadsheetgrid.pas
« Reply #2 on: February 24, 2025, 02:47:13 pm »
Thank you so much.

 

TinyPortal © 2005-2018