You can set FormStyle := fsStayOnTop and disable other forms.
Stacey Verner Ph: +64-9-4154790
Software Developer Fax: +64-9-4154791
CJN Technologies Ltd. Email: [EMAIL PROTECTED]
PO Box 302-278, North Harbour, Auckland, New Zealand
12 Piermark Drive, North Harbour Estate, Auckland, NZ
Visit our website at http://www.cjntech.co.nz/
> -----Original Message-----
> From: Derricutt, Mark [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, December 20, 1999 2:10 PM
> To: Multiple recipients of list delphi
> Subject: [DUG]: Modal stuff...
>
> 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
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz