forms have an OnPaint event that gets called when the form repaints.

you can write a handler for the forms OnPaint event and then
draw your lines on the forms Canvas.

ns


-----Original Message-----
From: Chrissy <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Tuesday, October 17, 2000 13:46
Subject: [DUG]: Lines That Repaint


Hi,

I have just joined this list (in fact it is my first list subscription) and
would like some help.

What I am looking for is a way of redrawing lines on a form when the form
repaints the same way form objects repaint.  I considered making a component
of the line and having a repaint method but thought that others may have
already solved this problem.  I am rather new to Delphi and have not yet
created a component.

Any help would be most appreciated.  Thanks.

Chrissy R

[EMAIL PROTECTED]
www.home.gen.nz



---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to