I want to draw a line on the form that follow the mouse pointer. However, I need to erase the drawing from the previous line. What's wrong with my code? [banghead]
var
Form1: TForm1;
oldX, oldY : integer;
implementation
{$R *.dfm}
procedure TForm1.FormMouseMove(Sender: TObject; Shift...
Hi jhcbrito...
I hope this is usefull... Use TCanvas.CopyRect method.
Code examples from Embarcadero.
{
The following code illustrates the differences between
CopyRect and BrushCopy. The bitmap graphic ‘FACTORY.BMP’ is
loaded into Bitmap and displayed on the Canvas of Form1.
BrushCopy...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.