Solved

how to get rid of flickering TImage when drawing on it

Posted on 2001-06-19
5
248 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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