Canvas Fillrect doesn't use the brush color after it changes
Original Reporter info from Mantis: >8<
-
Reporter name: Bug Import
Original Reporter info from Mantis: >8<
- Reporter name: Bug Import
Description:
&LtPos;font face=verdana,arial,helvetica color=#cc6600>When you call fillrect, the color of the brush isn't used after you change it.&LtPos;br>
For example, in the TSpeedbutton.paint I change the &LtPos;b>Canvas.Brush.Fillrect&LtPos;/b> to &LtPos;b>clBlue&LtPos;/b> and then I do a &LtPos;b>Canvas.Fillrect(PaintRect)&LtPos;/b> but it still uses the color clWhite (which is the color of the brush when it's created).&LtPos;br>
Can someone look at that? This is the reason the Speedbuttons always have a white border to the right and botton when they are flat.&LtPos;/font>
Additional information:
Imported information
--------------------
Name: Shane Miller
Mail: smiller (at) lakefield.net
Mantis conversion info:
- Mantis ID: 5