[DUG] Auto Black or White font colour

2011-06-06 Thread Ross Levis
I'm hoping someone may have a routine which determines if the font colour should be black or white depending on the colour of the component. I have buttons which the user can choose the colour, but black text on a dark colour can't be seen. Cheers.

Re: [DUG] Auto Black or White font colour

2011-06-06 Thread Ross Levis
:= clWhite; From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Ross Levis Sent: Tuesday, 7 June 2011 4:06 PM To: 'NZ Borland Developers Group - Delphi List' Subject: [DUG] Auto Black or White font colour I'm hoping someone may have a routine which determines