Autor Beitrag
raiha
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 152



BeitragVerfasst: Fr 10.06.05 13:15 
Hi,

ich würde gerne ein Frm. von einem bestehenden Frm. ableiten um das Programmm ein bisschen objectorientierter zu gestalten.

Wie muss ich das machen?

Danke Rainer
WeBsPaCe
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2322
Erhaltene Danke: 1

FireFox 3, Internet Explorer 6 SP1
D1, D3Prof, D6Pers, D7Pers+Indy, VisualStudio Express
BeitragVerfasst: Fr 10.06.05 13:37 
Schau dir mal folgenden Code an:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
type
TMyForm = TForm1;

procedure TForm1.Button1Click(Sender: TObject);
var
MyForm: TMyForm;
begin
MyForm := TMyForm.Create(nil);
MyForm.Visible := True;
end;