Recently I had need to resurrect an old application written in D2. With minimal changes it compiled fine in my current platform of D6. However, some graphics behaviour changed for the worst.
I need to display some slowly changing simple graphics on screen, and to avoid the flicker problem, I adopted the common buffering solution of firstly drawing the picture to an unseen TBitMap and then using CopyRect to a TImage or TPaintbox. This worked fine in D2 but in D6 when using a TImage the flickering is as bad as if I had used no buffering, but it works fine if I display the image on a TPaintbox. I even did some simple tests with stripped down code just simply copying a blank TBitMap to a TImage and it still flickered. D2 and D6 behave quite differently when using TImage but work the same when using TPaintBox. I had to go through the whole application replacing TImages with TPaintboxes. This works OK but I'd still prefer to have TImages in most places. Does anyone know what changes have been made to TImage and is there another workaround for this strange result? -- Regards, Tony Foale EspaƱa / Spain www.tonyfoale.com [EMAIL PROTECTED] _______________________________________________ Delphi mailing list -> Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi