Mach's so:
Delphi-Quellcode:
var
Form1: TForm1;
var content : record
autor : string;
publisher : string;
copyright : string;
keywords : string;
description : string;
end;
implementation
{$R *.dfm}
procedure TForm1.FormCreate(Sender: TObject);
begin
content.autor := Autor_Edit.Text;
content.publisher := Publisher_Edit.Text;
content.copyright := Copyright_Edit.Text;
content.keywords := Keywords_Edit.Text;
content.description := Description_Edit.Text;
end;
Da, wo du's deklariert hast werden die Edits noch nicht erkannt, so zu sagen.
Nachtrag: Too tired and too late.