|
-
Nov 17th, 2006, 07:53 AM
#1
Thread Starter
Lively Member
[RESOLVED] [2005] Topmost problem
Hi
I'm trying to display a progress bar in my application when the user loads a report (Crystal report). I call the form containing the progress bar just before the form containing the reportviewer is called. So the progress bar displays while the reportviewer form is loading. However once the reportviewer form becomes visible, it hides the progress bar form, even though it sometimes takes another few seconds for the actual report to show up.
I've set the Topmost property to True on the progress bar form but it is still not showing on top of the reportviewer form.
Please can anyone help?
-
Nov 17th, 2006, 08:15 AM
#2
Re: [2005] Topmost problem
Check out the BringToFront method.
-
Nov 17th, 2006, 08:46 AM
#3
Thread Starter
Lively Member
Re: [2005] Topmost problem
 Originally Posted by circuits2
Check out the BringToFront method.
I've tried that, it doesn't work!
-
Nov 17th, 2006, 08:54 AM
#4
Re: [2005] Topmost problem
Did you set the TopMost property of the ReportViewer form to False?
-
Nov 17th, 2006, 08:56 AM
#5
Thread Starter
Lively Member
Re: [2005] Topmost problem
 Originally Posted by circuits2
Did you set the TopMost property of the ReportViewer form to False?
it was already set to false by default.
-
Nov 17th, 2006, 09:19 AM
#6
Re: [2005] Topmost problem
I'm going to assume that because you are having this much trouble then you are not using a BackgroundWorker. If I am correct, then your progress bar will not work anyways because it is being executed in the same thread. Search the forum for Progress bars and you will find some good info for VS2005.
-
Nov 17th, 2006, 09:25 AM
#7
Thread Starter
Lively Member
Re: [2005] Topmost problem
 Originally Posted by circuits2
I'm going to assume that because you are having this much trouble then you are not using a BackgroundWorker. If I am correct, then your progress bar will not work anyways because it is being executed in the same thread. Search the forum for Progress bars and you will find some good info for VS2005.
Ah right.... that makes sense! I've never heard of a BackgroundWorker so I guess I'm not using one!! I'll read up about it, thanks Circuits2!
-
Nov 17th, 2006, 06:45 PM
#8
Re: [2005] Topmost problem
Please be sure to mark the thread Resolved. Best of luck!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|