![]() |
|
#1
|
|||
|
|||
|
Hello again. When I use: Image1.Canvas.FloodFill(1,1,clRed,fsSurface) it paints the image white and not red. Why is this and how can I corect it? Thanks :-) [b] Derek )
|
|
#2
|
|||
|
|||
|
Floodfill fills with the current brush, thus you should set image1.canvas.brush.color:=clred first. The meaning of the parameter color does depend on the value of the fillstyle - it will either search for a red boundary or will fill the read area.
Bye, Andy If it helped please click accept... |
|
#3
|
|||
|
|||
|
btw, if you just want to change the background color of the form, you can do this:
Form1.Color := clRed; otherwise you already got the correct answer from Andy Hope this helps, Marcel |
![]() |
| Thread Tools | |
| Display Modes | |
|
|