Just reading my own post I relaise that it requires a bit more explanation.
A panel can't float above other panels.  But what you can do is make the
wait panel zero height.  When you want to show the message make the datagrid
panel(s) zero height and the wait panel full height.  This may or may not
look ghastly.  You may just want make the caption of the datagrid panel
"please wait" and make the datagrids invisible.  Again this might look
ghastly depending on how long the query takes.


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Wes Edwards
> Sent: 04 January 2000 20:47
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: Tree view's
>
>
> > Has anyone else seen this and is there another way I can do
> > what I want?
>
> I haven't seen this, and don't know anything about tree view
> not liking to
> lose focus, but there may be other ways to tell your users
> "Please Wait".  I
> haven't tried this w.r.t. taking focus away from things, but ...
>
> How about putting a panel on your form over the datagrids.  The panel
> contains a "Please wait" caption, and maybe other things like
> an image or
> AVI etc.  Make the panel visible while the query is running.
> If there are
> no controls on the panel that can receive focus you should be OK.
>
> Wes Edwards
>
> --------------------------------------------------------------
> -------------
>     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

Reply via email to