Tom,
I'm afraid you cannot just publish the Color property for any of the 3
standard Delphi button components. They will draw using the button face
colour. However, do look at the Delphi Super Page. There was a component
with source that shows how to colour your buttons creatively. Essentially
the technique involves overiding the paint method to do the painting
yourself.
Dennis.
> I need to make a component which is identical to TButton but
> which also has
> a Color property. I thought I could just publish the Color
> property, but
> this doesn't work.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz