removerows problem

Hi,

after updating the AdvStringGrid at 7.3.0.4 when I remove the lines with the removerows, I find that FixedRows back to 1 without the possibility of change, even if it was initially set to 0



thanks

How exactly can this be reproduced?

With a default grid on the form and the code:

procedure TForm1.Button1Click(Sender: TObject);
begin
  advstringgrid1.FixedRows := 0;
  advstringgrid1.RemoveRows(5,3);
end;

this can't be reproduced. FixedRows remains 0.

this happen after loading the grid with gridExcelIO->XLSImport

Nothing unexpected happens here.

If a problem persists, please provide some sample source application with which we can reproduce the problem.

New project

fixedrows =0 at design time



buttonclick

{

Grid->Clear();

AdvGridExcelIO1->XLSImport( OpenDialog1->FileName );

}



delete

{

if( Grid->Selection.Top > 0 )

    Grid->RemoveRows( Grid->Selection.Top, 1);

}



TAdvStringGrid Ver. 7.3.0.4

TAdvGridExcelIO Ver 3.8.2

C++2009



Thanks

Sorry, it can't be reproduced. I tried your exact steps but grid.FixedRows remains 0.

If a problem persists with the latest version v7.4 of TAdvStringGrid, please contact support by email with a sample source project with which this issue can be reproduced.

Now triyng latest version I receive this error



[C++ Error] AdvGrid.hpp(2356, 96): E2238 Multiple declaration for '_fastcall TNoActiveForm::TNoActiveForm(TComponent *)'



thanks

Delete one line in the HPP file and it will compile.
We'll release a small fix update later today.

ok thanks

with the latest version the removerows problem disappeared