BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FillRect

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
RSK
Guest





PostPosted: Sat Jun 05, 2004 3:25 pm    Post subject: FillRect Reply with quote



Hi all,

Using TCanvas.FillRect cause a fliker effect in any canvas. Is there an
better way.

Best regards,
RSK.


Back to top
RandomAccess
Guest





PostPosted: Sat Jun 05, 2004 5:22 pm    Post subject: Re: FillRect Reply with quote



How big is the rect?
Are you doing this in tight loop?

What exactly are you doing and why?
Also, what does the canvas belong to?
TImage? TPaintBox?

best regards


Back to top
RSK
Guest





PostPosted: Sun Jun 06, 2004 3:48 pm    Post subject: Re: FillRect Reply with quote



Hi,
It's small (50*50 px). Canvas is TImage.
No any loop.

Thanks.
RSK.

"RandomAccess" <Random (AT) Access (DOT) com> wrote

Quote:
How big is the rect?
Are you doing this in tight loop?

What exactly are you doing and why?
Also, what does the canvas belong to?
TImage? TPaintBox?

best regards





Back to top
RandomAccess
Guest





PostPosted: Mon Jun 07, 2004 2:09 am    Post subject: Re: FillRect Reply with quote


"RSK" <Tecdiscuss (AT) Yahoo (DOT) com> wrote

Quote:
Hi,
It's small (50*50 px). Canvas is TImage.
No any loop.

Thanks.
RSK.

If no loop, then I assume you see flicker when you resize the window.
I understand that Delphi 7 has a flicker problem with TImage but I do not
know the solution as I still use Delphi 5.

You can try to set doublebuffered := true to the parent control of the
TImage.

best regards




Back to top
Ma Xiaoguang
Guest





PostPosted: Mon Aug 02, 2004 1:05 am    Post subject: Re: FillRect Reply with quote

Hi,

I have the same problem with Delphi 6. A friend which was in this forum
has told me a method to handle the problem -- just to set the Stretch
property of the TImage to True! Does it work with Delphi 7? I don't know,
because I don't have it. Try the method. Good luck.

Best regards.

Xiaoguang

"RSK" <Tecdiscuss (AT) Yahoo (DOT) com> wrote

Quote:
Hi,
It's small (50*50 px). Canvas is TImage.
No any loop.

Thanks.
RSK.

"RandomAccess" <Random (AT) Access (DOT) com> wrote in message
news:40c20153 (AT) newsgroups (DOT) borland.com...
How big is the rect?
Are you doing this in tight loop?

What exactly are you doing and why?
Also, what does the canvas belong to?
TImage? TPaintBox?

best regards







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.