Delphi Tutorial


 

 

Draw circles form

 

 

        Only you have to do is go to the form events page. Setup the FormMouseMove event as follows

 

                       procedure TForm1.FormMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
                       begin
                               Form1.Canvas.Ellipse(X-15,Y-15,X+15,Y+15);
                       end;

 

        In here number 15 is the size of the circle. You can set it as to your requirement.


DOWNLOAD this example

Click here to download this complete example for Delphi 6. (File size 6KB)

 

 

Go top

 


Previous Page First Page Next Page
 
Copyright © 2002 digitalcoding.com. All rights reserved.