Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FORM will not Refresh on time!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01130501
Message ID:
01237721
Vues:
23
I have a form that scans thru a large table. Thisform.Draw works great as long as the screen is left alone. But if I open another window in front of it and switch back to VFP application I get the white bar over the menu bar and image of the 2nd screen is left over the VFP app. I have tried _screen.draw and thisform.draw neither helps. How can I resolve this?

>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?
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform