Board index » delphi » Font colour in TButton component

Font colour in TButton component

I want to change the colour of the Text, and maybe the background, of a
TButton. If I select the font attributes in the object inspector and change
the colour, nothing happens... anyone know how to change the colour of a
button?

JJ.

--
Email: jjqu...@dircon.co.uk
Homepage: http://www.users.dircon.co.uk/~jjquick/

 

Re:Font colour in TButton component


Quote
Jonathan J Quick wrote:

> I want to change the colour of the Text, and maybe the background, of a
> TButton. If I select the font attributes in the object inspector and change
> the colour, nothing happens... anyone know how to change the colour of a
> button?

        The way buttons look is a system thing determined by the user.
You can use  BitBtn instead.

--
David Ullrich

sig.txt not found

Re:Font colour in TButton component


In article <3470AB9D.4...@math.okstate.edu>, David Ullrich

Quote
<ullr...@math.okstate.edu> writes:
>Jonathan J Quick wrote:

>> I want to change the colour of the Text, and maybe the background, of a
>> TButton. If I select the font attributes in the object inspector and change
>> the colour, nothing happens... anyone know how to change the colour of a
>> button?

>    The way buttons look is a system thing determined by the user.
>You can use  BitBtn instead.

Alternatively, if you just want to make it look distinctive you _can_ use
the Bold, Underline, or Italic attributes...
/js

Re:Font colour in TButton component


Quote
JefSummers wrote:

> In article <3470AB9D.4...@math.okstate.edu>, David Ullrich
> <ullr...@math.okstate.edu> writes:

> >Jonathan J Quick wrote:

> >> I want to change the colour of the Text, and maybe the background, of a
> >> TButton. If I select the font attributes in the object inspector and change
> >> the colour, nothing happens... anyone know how to change the colour of a
> >> button?

> >       The way buttons look is a system thing determined by the user.
> >You can use  BitBtn instead.

> Alternatively, if you just want to make it look distinctive you _can_ use
> the Bold, Underline, or Italic attributes...
> /js

        True. But using a BitBtn is no harder than using a Button, and
it allows you to change the color, so if changing the color is what you
want to do then a BitBtn is the thing to use.

--
David Ullrich

sig.txt not found

Other Threads