🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.pascal.delphi.components.writing
1 messages
1 total messages Started by Thierry Imbert Sat, 05 Sep 1998 00:00
TGraphicContol flickering...
#34
Author: Thierry Imbert
Date: Sat, 05 Sep 1998 00:00
24 lines
1697 bytes
Hi,

Taking a part ot the TSpeedbutton source code, I recently wrote a
graphic component similar to the it, but the glyph is taken from an
image list instead of a TBitmap. This allows to draw Bitmaps or Icons
and avoid some transparency problems. The image can also be stretched
and smoothly drawed regarding of the background in case the Flat flag is
set.

However, like the TSpeedButton and when Flat is set, I get some
flickering when the mouse pointer enter and exit the button...
In fact, the component redraw itself when mouse enter or exit.

My routine is correctly optimized to minimize the drawing time to the
minimum.

Is there a solution to avoid ALL of the flickering?

Thanks.

  Thierry Imbert.

PS: If anyone need this component, please mail me and remove the
"nospam-" from the return address.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads