Registriert seit: 17. Apr 2013
97 Beiträge
|
AW: Delphi-error
19. Jul 2013, 14:04
Hi,
I have another question
I have created one form which has he following attributes:
type
TForm1 = class(TForm)
btnEnter: TButton;
btnDisplay: TButton;
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObject);
procedure btnEnterClick(Sender: TObject);
procedure btnDisplayClick(Sender: TObject);
I have another form form2 which has its own button, but I would like to inherit the form1 into form2, but I don’t want to inherit the complete form1 ,just few functionality,such as ( btnEnter: TButton; procedure btnEnterClick(Sender: TObject) ), but I don’t have idea ,how to inherit a form partially.
Do you have any suggestion please?
|