Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FORM will not Refresh on time!
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01130501
Message ID:
01130518
Views:
16
Thanks, Sergey.

That WORKS!!!

Once again, YOU 'DA MAN!!!

Tommy

>Try
>Thisform.Draw()
>
>>
>>I am working on a Form that allows the user to select reports to print.
>>
>>The form has a display field called "txtstatus" that displays verbage to the usage to keep them informed of what is going on.
>>
>>Basically, when the user selects the PRINT button, this field should have text placed in it to show the user what is happening in the background while they are waiting for a SQL SELECT to finish it's business, then display the REPORT FORM preview.
>>
>>But what happens is, as soon as I press the PRINT button, the form ignores doing a refresh or repaint, and does not show any change to the txtstatus field UNTIL the REPORT FORM preview is display. WHEN that happens, the txtstatus field is show with the message that was placed in it earlier.
>>
>>Here is the code to the PRINT button.
>>
>>
><snip>
>>
>>
>>
>>I've tried adding a ThisForm.txtStatus.refresh, ThisForm.refresh, and ThisForm.paint.
>>
>>No good. Any ideas on what may be making the form to ignore the refresh and paint?
>>
Tommy Tillman A+ NetWork+ MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform