Hello everybody,.
I have an error can not resolved because everybody doesn't have this problem.
Can someone try this on this C++ Builder please ?
Create a new project , put two components : TAdvColumnGrid and TButton.
On TAdvColumnGrid properties set :
options>goRowSelect = true;
FixedCols =0;
RowCount=200;
And Have just 2 columns.
Put the second column on readonly=true .
In code part :
FormCreate :
for (int i=0;i<200;i++)
{
for (int j=0;j<2;j++)
{
AdvColumnGrid1->Cells[j][i]="bla bla bla";
}
}
In Button1Click function put this :
AdvColumnGrid1->ClearNormalCells();
AdvColumnGrid1->RowCount=2;
That's all.
Now, execute it. Before clicking on button, please, click on a random row . (without scrolling) . Just click once.
Then click on Button.
Normally it will show you an error message like "grid index out of range "
It'll be helpfull if you can test .
Thanks