For some reason I cannot remove image if it is placed in column 0 (TAdvStringGrid).
SG1->RemoveImageIdx(0, SG1->SelectedRow[0]); // dont work
but, if it the image is in, let's say, row 8 then it works?
..i meant column 8, then it works.
I cannot reproduce this. Test code on a default grid:
procedure TForm1.Button1Click(Sender: TObject);
begin
advstringgrid1.RemoveImageIdx(0,0);
end;
procedure TForm1.FormCreate(Sender: TObject);
begin
advstringgrid1.GridImages := ImageList1;
advstringgrid1.AddImageIdx(0,0,0,haLeft,vaTop);
end;
Are you sure you use the latest version of the grid?
It really works when testing it in a separate (empty) project. Strangely, it does not work in the project in currently in :) Probably my fault so I'll keep checking the code.
If you have some sample source app with which we can reproduce this here, please send such project by email to support.