June 19th, 2012, 06:40 PM
Moving images without flickering
I am trying to move several images quite fast in a form
by changing the position of the image by altering the
Image.left: value. When I run the program I see that
there is flickering on top of the background. I want instead smooth movements of the images. All images have the imageproperty transparent.
June 20th, 2012, 12:50 AM
Try to use SetBounds instead. Using SetBounds allows you to alter the Left and Top property in one go, so no drawing happened in between.
Originally Posted by sgpvatt
If that does not help, try to set the DoubleBuffered property of parent of the images to True.
June 20th, 2012, 06:51 PM
Thank you for your help. The second proposal was very
Originally Posted by Luthfi
successful. For the first I could not find a SetBounds for
images only rectangles but I hope I can find out how to
do it that way.