Delphi Programming

  1. Home
  2. Computing & Technology
  3. Delphi Programming
photo of Zarko Gajic

Zarko's Delphi Programming Blog

By Zarko Gajic, About.com Guide to Delphi Programming since 1998

Colored TButton - TColorButton - Delphi Button with Color Properties

Friday January 2, 2009
ARTICLES :: Delphi Color Button Full source code of the TColorButton Delphi component, an extension to the standard TButton control, with font color, background color and mouse-over color properties.

Read the full article to learn how to write your own and use TColorButton - Delphi Button with Color Properties.

Related:

Roy Damman enhanced my TColorButton by adding MultiLine and ColorClick properties. Plus: "ForeColor" made available by Font.Color; "BackColor" made available by publishing the Color property.

Download TColorButton Enhanced

Comments

January 2, 2009 at 9:27 am
(1) Claude says:

I’ve downloaded this before, does anyone know if this one adapts to the windows xp styling (using the winxp.res file)? The previous one did not, so the buttons stuck out like a sore thumb against the rounded edges of regular buttons.

January 2, 2009 at 12:08 pm
(2) Stephen Provis says:

his was very useful, adding a drop-down to a button had been confusing me for some time, thanks for the simple example - have implemented it and now understand what I was doing wrong.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss

Community Forum

Explore Delphi Programming

About.com Special Features

Delphi Programming

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2009 About.com, a part of The New York Times Company.

All rights reserved.