I want to add a progress indicator to the treeview class. This application has a mainform and two classes - treepane and treenode.
When I want a tree to be drawn I press a button on main, this creates a treepane object and that one calls the treenode to populate the tree.
With the method OpenAll the process may take few seconds, so I wanted to add a progress indicator (or just a label) to let the user know that the app is running.
What you see in this process is the main form until the tree is completed. I added the progress indicator to the main, not visible until the tree button is pressed and then visible but it does not show at all.
I tried to bring it to the front after adding the tree object but still it does not show until the tree is completed (and this is too late of course).
Advice ?
When I want a tree to be drawn I press a button on main, this creates a treepane object and that one calls the treenode to populate the tree.
With the method OpenAll the process may take few seconds, so I wanted to add a progress indicator (or just a label) to let the user know that the app is running.
What you see in this process is the main form until the tree is completed. I added the progress indicator to the main, not visible until the tree button is pressed and then visible but it does not show at all.
I tried to bring it to the front after adding the tree object but still it does not show until the tree is completed (and this is too late of course).
Advice ?