This page was generated automatically from The Delphi Super Page archive. If you have any remarks concerning this page please do not hesitate to mail me.
In your mail please do refer to your unique DSP author ID which is 0003585. This helps me to locate your data records in DSP databse.
Author/SiteName(Contact)e-mailHome Page
  John - Spyder Mania Software Co. (John) [email][Home]




[ ] [ 5,716 bytes ] [ Freeware ] [ With Source ]
[ D1 ]
TFlatBtn is a descendant of TSpeedButton that overrides the default Painting and Mouse handling.

TFlatBtn provides a new Flat property to decipher weather the button should be flat, or standard. When Flat is true the button is flat with no border. When the mouse cursor moves over the button, it rises, and when the mouse cursor leaves the button, it returns flat again.

When Flat is false the button acts as a standard TSpeedButton. We override the normal drawing to give the button a Windows 95/98 button appearance.

The idea for this component comes from Windows 95/98 task bar buttons. There doesn't seem to be any noticeable impact on performance, however, your mileage may vary.

Added: 10-11-2000   |  Version: 1.0   |  Downloads: 2037/2037/3
Author:John   John - Spyder Mania Software Co.   [Homepage]   [DSP files]


1995-2006 Robert M. Czerwinski ( The Delphi Super Page a.k.a. DSP ).
All rights reserved.