This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, December 27, 2006 12:48:16 AM(UTC)
Groups: Registered
Posts: 3
i'm using medical suite Leadtools 13 VCL with delphi 7.0
, an i want to draw the image information on the client area of the
leadmain control, i tried many method like drawing directly by the
drawtextout method or by using canvas, also i tried to draw all text on
memDC the biblt it o the clientDC, also i tried to set doublebuffer
property to true, ...
but all of this methods causes flickering when repainting the bitmap.
also the annotation causes flickering also in leadAnn control.
Is there any idea to draw a flicker less text on the control ?.
it is important for me as it causes annoyance to the users.
#2
Posted
:
Thursday, December 28, 2006 9:38:17 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
I opened our Annotations VCL Delphi 7 Demo that is shipped with LEADTOOLS 13, loaded and image and inserted a text annotation object on it.
I then changed the view mode to "Fit to window" and resized the window several times, and no flickering occurred.
The version I tested with is 13.0.0.129. If you have an older version of our DLLs, please download the latest LEADTOOLS 13 patches from our support site and test with them.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
#3
Posted
:
Saturday, January 6, 2007 10:03:44 PM(UTC)
Groups: Registered
Posts: 3
I'm already using the same patch, but please try your sample again, by using the mouse to manipulate the zoom, or the brightness/contrast of the image, with autorepaint=false and use forcerepaint for changes to appear immediatly, you will find that the text is flickering.
On the other hand is there any method to write on the ClientDC without flickering ?!
#4
Posted
:
Tuesday, January 9, 2007 9:58:15 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
If you place a static text control on the form and place it on top of the LEAD control, you can put text inside it that doesn't flicker when the LEAD control is repainted. The attached project shows this.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.