I used TPaintBox... it's work better than Timage when Drawing (OnPaint)
You can try it....

Gustavo Enrique Jimenez <[EMAIL PROTECTED]> wrote: 

2007/5/28, Dave Coventry <[EMAIL PROTECTED]>: Gustavo Enrique Jimenez wrote:
>
>
> There are good tutorials/examples on
> http://wiki.lazarus.freepascal.org/Developing_with_Graphics 
> <http://wiki.lazarus.freepascal.org/Developing_with_Graphics>
Gustavo,

Thank you for your reply.

But they don't really help. 

Do you draw a line to the Image1.Canvas? or do you draw to
Image1.Picture.Bitmap.Canvas as suggested by the wiki? Which seems to
make the flickering worse?

Or do you need to suspend onPaint until you've finished drawing? 

In which case, how do you suspend onPaint?

I have used the "Create a custom control which draws itself" method, and it 
worked very well !! Try this method. 

Gustavo

ps: for the record, Felipe Monteiro help me A LOT in private mails. Thanks 
Felipe, and excuse me for bother you in private.



 


 


=============INTOSOFT============
           ALEXIO CHAOS
   [EMAIL PROTECTED]   
          Yahoo Messager
=================================
       
---------------------------------
Need a vacation? Get great deals to amazing places on Yahoo! Travel. 

Reply via email to