Board index » delphi » delphi question: installing a new component on the comp pallette
bissa...@yahoo.co.uk (mr_burns)
![]() Delphi Developer |
Sun, 24 Apr 2005 19:35:59 GMT
delphi question: installing a new component on the comp pallette
hi,
i am trying to install a new component on the component pallete. firstly i am creating the unit. Below is the code that is contained inside the unit, although i dont really need to mention it because there doesnt seem to be a problem with it, but anyway: unit Unit1; interface uses WinTypes, WinProcs, Messages, SysUtils, Classes, Graphics, Controls, type TCloseButton = class(TButton) private protected public published end; procedure Register; implementation constructor TCloseButton.Create(AOwner: TComponent) ; procedure TCloseButton.Click ; procedure Register; end. When i have saved it i am then trying to register it on the component while i have the component unit alone open it is present on the any help would be much appreciated as i am keen to test my fancy new martynb |