Chris
2012-07-02 13:15:53
I have this:
and this:
And its called like this:
But it gives me:
Any ideas why this happens?
procedure Start;
begin
writeln(edit1.text);
end;and this:
Edit1 := TEdit.Create(MainForm);
Edit1.Parent := MainForm;
Edit1.Top := 155;
Edit1.Left := 120;
Edit1.Width := 150;
Edit1.Height := 50;
Edit1.MaxLength := 20;
Edit1.Text := 'Username'And its called like this:
Action.ExecuteProcedure := @Start;
Action.ExecuteProcedure();But it gives me:
Error: Exception: Access violation at line 383line 383 = writeln(edit1.text);Any ideas why this happens?