Re: Brush.Bitmap problems

Adam Starkey <[email protected]> Thu, 7 Nov 2002 13:50:12 -0600
Newsgroups gmane.comp.lang.delphi.kylix
Message-ID <[email protected]>
On Thursday 07 November 2002 01:20 pm, you wrote:
> Hi,
>
> does anyone know why:
>
> PaintBox1.Canvas.Brush.Bitmap := nil;
> PaintBox1.Canvas.Brush.Color := clRed;
> PaintBox1.Canvas.Rectangle(Rect(0,0,200,200));
>
> doesn't work as I would expect?

Duh, 

'cos I forgot to set brush.style to bsSolid...

nevermind... ;)

-- 
adam



-------------------------------------------------------
Forum / mailing list for Borland Kylix programmers
Our web page:  http://groups.yahoo.com/group/kylixgroup
To join the forum: [email protected]
To unsubscribe:  [email protected]
To post your messages:       [email protected]
To contact the moderator:  [email protected]
------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/