PaidtheUmpire
Programmer
What i want to do is once a user starts up the program...
it does the procedures it is supoosed to and then it i'll close itself.
It currently does everything and then sits there, not closed.
any ideas?
Delphi, Delphi, Delphi. Oi! Oi! Oi!
it does the procedures it is supoosed to and then it i'll close itself.
Code:
procedure TForm1.FormCreate(Sender: TObject);
begin
if paramcount > 0 then
begin
FileInput.Clear;
FileInput.Lines.LoadFromFile(paramstr(1));
end;
OutputMemo.Clear;
InputIntoGrid;
GridToGrid;
GridToOutput;
SaveTheOutput;
Close;
end;
It currently does everything and then sits there, not closed.
any ideas?
Delphi, Delphi, Delphi. Oi! Oi! Oi!