So you have like 10 input params you want to fetch from the user?
Why not just make a second form:
Delphi-Quellcode:
for i := 0 to 9 do
if form2.ShowModal = mrOK then
begin
values[i] := form2.some_public_field_assigned_before_closing;
end
else
begin
ShowMessage('Naaah... don''t press cancel!'); // ;-)
Break;
end;
EDIT: if you don't know how to make a form act modal, there should be enough material in the forum. or just ask
Lukas Erlacher
Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1