J jog81 Unregistered / Unconfirmed GUEST, unregistred user! 2006-03-13 #1 请问有办法使用Canvas将一个Stringlist画到StringGrid指定的Rect中吗?
啊 啊啊啊啊啊 Unregistered / Unconfirmed GUEST, unregistred user! 2006-03-15 #2 procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer; Rect: TRect; State: TGridDrawState); begin With Sender as TStringGrid do begin Canvas.FillRect(Rect); Canvas.TextOut(); end ; end;
procedure TForm1.StringGrid1DrawCell(Sender: TObject; ACol, ARow: Integer; Rect: TRect; State: TGridDrawState); begin With Sender as TStringGrid do begin Canvas.FillRect(Rect); Canvas.TextOut(); end ; end;