TImage & Flicker

Please discuss general Delphi programming topics here.

TImage & Flicker

Postby hadipardis » August 7th, 2007, 2:07 pm

Hi, I paint something in OnMouseMove of a TImage in my form. But when I move the mouse many images and labels do flicker. Now what is the problem? I tried this code but it didn't work:
Code: Select all
form1.controlstyle:=form1.controlstyle+[csOpaque];
hadipardis
Junior Member
Junior Member
 
Posts: 33
Joined: July 17th, 2004, 5:45 am

Postby Kambiz » August 7th, 2007, 3:13 pm

Set DoubleBuffered property of parent control of Images/Labels flickering to True.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby hadipardis » August 8th, 2007, 4:45 am

Thanks :)
hadipardis
Junior Member
Junior Member
 
Posts: 33
Joined: July 17th, 2004, 5:45 am


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 12 guests

cron