Leemi
Wed Apr 05 13:54:52 CDT 2006
Hi Jim:
Yes, hiding the form might be a solution. Have you tried refreshing the
form before and after you run the queries and reports?
Here are some ideas that might be worth trying:
Add a
Bitmap=OFF
To the Config.fpw file
In the Paint event of the form, try repainting the form using a Windows API
function:
DECLARE INTEGER UpdateWindow IN WIN32API INTEGER
UpdateWindow( THISFORM.HWnd )
CLEAR DLLS 'UpdateWindow'
Then call the Paint event with a Thisform.refresh.
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell
*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/
*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/gp/lifeselectindex
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003
>Thanks for your response. No @say commands. Stopped using those in
>1998.
>Native VFP9 form developed in VFP9.
>As I thought about my issue and after trying both your suggestion and
>the one from Tarek below (neither helped) I realized I may not be able
>to solve my problem.
>My form is doing an execscript that is running the code that both does
>the queries and creates the reports. If the user selects preview for
>the reports the paint of the preview over the top of my form wipes out
>the display of the form objects and just leaves the empty form window
>with the background color when the preview is closed and the next query
>for the next report proceeds.
>Since the form still does not have control I cannot initiate a refresh
>or re-render of the form until all of the reports are done.
>Unless you guys have some neat other things I can try I suspect I am
>out of luck and my only option is probably to hide the form until the
>reports are done.
>Jim