chriseden
asked on
Bitmaps in StringGrid
I understand that Bitmaps can be displayed in a cell of a Stringgrid, How ??
i have tried using 'objects' method, but I get an error message that I have not seen in a documentation 'EStringSparseListError'
can anyone suggest some code ?
i have tried using 'objects' method, but I get an error message that I have not seen in a documentation 'EStringSparseListError'
can anyone suggest some code ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great
procedure TForm1.StringGrid1DrawCell
Rect: TRect; State: TGridDrawState);
begin
if StringGrid1.Objects[Col,Ro
with StringGrid1.Canvas do begin
Draw(Rect.Left, Rect.Top, (StringGrid1.Objects[col,r
end;
end;
end;