Thanks for all the replies.  The solution was a little simpler than I
thought.  I had a refresh method in the OnActivate.  This would cause a
recursive refresh of the tree view when my floating window closed.



----- Original Message -----
From: Carl Reynolds <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Wednesday, January 05, 2000 11:37 AM
Subject: RE: [DUG]: Tree view's


> I also don't have problems displaying a floating wait window in similar
> circumstances.  Perhaps something's happening as a result of your OnChange
> event that's changing the TreeView?  You need to ensure the TreeView is
not
> modified during the OnChange.
>
> Cheers,
> Carl
>
> -----Original Message-----
> From: Aaron Scott-Boddendijk [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 31 December 1999 9:39
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: Tree view's
>
>
> > I'm trying to use the standard TTreeview as a sort of menu that controls
> > what is displayed in two associated db grids.  When the user clicks on a
> > node in the tree, the OnChange event is called and I refresh the grids
> with
> > new data.
> >
> > Now the problem is, the grids nderlying query can take a few seconds so
I
> > want to display a floating wait message window.
> >
> > This causes all sorts of weird problems with the treeview that I can't
> > really explain.  I think it doesn like losing focus during the OnChange
> > event.  I've tried using OnMouseUp with the same result.
> >
> > Has anyone else seen this and is there another way I can do what I want?
>
> We use standard TTreeviews and do processing that causes focus changes and
> window displays
> during the onChange.  This is not the cause of your problem.  We will
likely
> need more detail or
> possibly even code snippets to ascertain the cause of the problem you're
> having...
>
> --
> Aaron@home
>
> --------------------------------------------------------------------------
-
>     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
>
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to