Unit EnhButtn

*********************************************************************** Delphi 2.0 only EnhButton derives TButton95, TCheckBox95 and TRadioButton95 from TButton, TCheckBox and TRadioButton and adds all the Windows 95 formatting functionality Borland forgot when they implemented these components. // Added properties All components: HorAlignment : How the Caption of the button is aligned horizontally VerAlignment : How the Caption of the button is aligned vertically Picture : Display a bitmap or an icon instead of the Caption WordWrap : Wrap the text if the control is too narrow RadioButton95 and Checkbox95 only: LikeButton : Make the Checkbox or Radiobutton look like a pushbutton // ********************************************************************* History: 22/1/97 Initial release 23/1/97 Fixed a bug that caused Delphi to lock up occasionaly if TButton95 was dropped on a form 24/1/94 Added TRadioButton95 and TCheckBox95 when I found out that an existing component that implemented these two didn't have a picture property *********************************************************************** Ver 1.3 Copyright(c) 1997 Arjen Broeze e-mail : arjen@shear.iaf.nl

Classes

TButton95 -
TCheckBox95 -
TRadioButton95 -

Functions

Register -

Types

THorizontalAlignment
TVerticalAlignment

Constants

Variables


Functions


procedure Register;


Types


THorizontalAlignment = (haLeft, haCenter, haRight);

TVerticalAlignment   = (vaTop, vaCenter, vaBottom);

Constants


Variables