Illkillutill
2012-01-31 19:36:46
I'm trying to add a form to a script, and it loads just fine, but when I close the form and try to get the values of fields i get an error… should I be doing something different?
when I do this
i get
PlayerName in the form…
and have the record
when I do this
WriteLn(PlayerName.Text)i get
[Error] (907:14): Unknown identifier 'PlayerName' at line 906PlayerName in the form…
with PlayerName do
begin
Parent := GroupBox1;
Left := 8;
Top := 20;
Width := 126;
Height := 21;
TabOrder := 0;
Text := 'Username';
end;and have the record
type
TForm1_1 = record
PlayerName: TEdit;
end;