My preview form is displayed maximized and the form with the progressbar is put behind it. Is there anyway to display it in front? or on the Preview form itself?
Try calling Form.BringToFront in the OnScreenDevicePageReceive event to force the main form have focus. I am unsure about the timing of the form and progress bar events so you might have to play around with them a little to get the form to dissapear after the report has loaded.
Comments
Check out the following example. It should help get you on the right track.
http://www.digital-metaphors.com/tips/ProgressBar.zip
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Kevin
There is only one more problem.
My preview form is displayed maximized and the form with the progressbar is
put behind it. Is there anyway to display it in front? or on the Preview
form itself?
Thanks.
Kevin
Try calling Form.BringToFront in the OnScreenDevicePageReceive event to
force the main form have focus. I am unsure about the timing of the form
and progress bar events so you might have to play around with them a little
to get the form to dissapear after the report has loaded.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com