标签:
var C:TControlCanvas; begin C := TControlCanvas.Create; C.Pen.Color := clRed; C.Pen.Width := 3; C.Control := Memo1; C.MoveTo( 20,20 ); C.LineTo( 20, 120 ); C.Free; end;
真是简单啊~~
在TMemo上画一条线
原文地址:http://www.cnblogs.com/findumars/p/4570729.html