Thema: Delphi Realtime Input? Thread?

Einzelnen Beitrag anzeigen

Benutzerbild von DGL-luke
DGL-luke

Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
 
Delphi 2006 Professional
 
#8

Re: Realtime Input? Thread?

  Alt 14. Mai 2006, 13:31
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
  Mit Zitat antworten Zitat