Use FloodFill with a border color not used in
the current canvas, for instance:
Form1->Canvas->FloodFill(1,1,0x00fefefe,fsBorder);
Where "fefefe" is the limiting, non exixting color in GBR notation.
I have got an idea!! When you have for example Form1->Canvas you could use Repaint. When you have an image canvas then you could write Form1->Image1->Picture=NULL. I use this kind of code in my programs
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.