Solved

how to get rid of flickering TImage when drawing on it

Posted on 2001-06-19
5
246 Views
Last Modified: 2010-04-06
hi,

i'm trying to find a way to get rid of the annoying flickering that occurs when i draw on a TImage(image1). Image1 is on top of image2. When i draw on image1 using its canvas, image1 flickers while i'm drawing. This causes the user to see image2 through image1. This is not what i want.

Does anyone know a way to get around this problem?

thanks in advance.
0
Comment
Question by:brutebass
5 Comments
 
LVL 5

Expert Comment

by:TheNeil
ID: 6206966
Put Image1 onto a TPanel - Maybe a not a 'perfect' solution but it should solve the problem

The Neil =:)
0
 
LVL 6

Accepted Solution

by:
edey earned 100 total points
ID: 6207043
Or you can set form1.doubleBuffered to true.

GL
Mike
0
 
LVL 1

Expert Comment

by:vorisek
ID: 6209172
Try to do all drawing on a separate bitmap.canvas first.
After all drawing has been finished assign bitmap to image1.picture.bitmap.
Milan
0
 

Author Comment

by:brutebass
ID: 6209871
thanks, this works best for me
0
 
LVL 6

Expert Comment

by:edey
ID: 6210846
Glad to be of service :)

GL
Mike
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now