Hi Guys,

 

Wondering why this isn't working (D7).  I have a TListView with an
OnCustomDrawItem event which sets the font and brush colours of some items,
and I now want to highlight a specific type of item so I thought I would try
some brush styles to see what they look like, but nothing works.  It's
always bsSolid.

 

with Sender.Canvas do

begin

   Brush.Color := clBlack;

  Brush.Style := bsFDiagonal;

end;

 

It appears black alright but solid.  Any ideas?

 

Ross.

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [email protected] with 
Subject: unsubscribe

Reply via email to