Hi all,
I would like to know if it is possible to put a picture and a checkbox together in a single cell.
I tried something like this:
photoGrid.BeginUpdate;
imageName := opendialog1.FileName; photoGrid.CreateFilePicture(2,1,false,noStretch,20,haCenter,vaAboveText).Filename := imageName;
photoGrid.Cells[2,1] := 'Image 1';
photoGrid.addCheckBox(2,1,false,false);
photoGrid.AutoSizeRows(false,20);
photoGrid.EndUpdate;
imageName := opendialog1.FileName; photoGrid.CreateFilePicture(2,1,false,noStretch,20,haCenter,vaAboveText).Filename := imageName;
photoGrid.Cells[2,1] := 'Image 1';
photoGrid.addCheckBox(2,1,false,false);
photoGrid.AutoSizeRows(false,20);
photoGrid.EndUpdate;
But it doesn't work, i only get the checkbox that way (no image).
I tried to set first the checkbox and then the picture but then i only got the image (no checbox).
Is it possible to set both in a cell and if yes, how?
Thanks a lot for your help!
Best regards,
Kateline