In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

How to set a Font Colour/Color in code? .... SOLVED

Xailer English public forum
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

How to set a Font Colour/Color in code? .... SOLVED

Mensaje por ChrisGillard »

I seem to have lost my rights to post in the PRO section so I am posting here ....

I want to access and change the Font Colour/Color in Code on TLabel.

I can change the size of the font with oFont:nSize := 14 but I can't find the Property or Method for Colour/Color.

Any thoughts please.

Thanks

Chris

SOLVED .... I see that nClrText is a property of TControl which means that Tlabel has a nClrText property .... SOLVED

Still can't post in PRO though.
Responder