Is it possible to show a form as modal, but continue execution in the same
program block without waiting for ModalResult to be set?

I want to do something like:

procedure TForm2.DoSomething;
begin
  ShowModal;
  ProcessThatUpdatesForm2WithProgressInfo;
  ModalResult := mrOk;
end;

Normally I would just use show, but I don't want my app to accept focus
until it's finnished, is there anyway to get a modal type state without
using ShowModal?

Mark

-- 
Mark Derricutt, PB Power NZ Ltd (http://www.pbpower.net)
Now Playing... Lightmare - The Fool

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to