Solved

how to get rid of flickering TImage when drawing on it

Posted on 2001-06-19
5
247 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

813 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

12 Experts available now in Live!

Get 1:1 Help Now