Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form refresh not keeping up with table changes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Form refresh not keeping up with table changes
Divers
Thread ID:
00343411
Message ID:
00343411
Vues:
52
I have a simple form showing the progress of the reindexing of 83 tables. The form contains a grid with the name, description of each table, number of records to index and number of indexes for each table with a field that gets changed to "Done" when that table is done. It also contains two edit boxes with one showing "Indexing table n of n2 tables" and the other showing "Creating index n of n2 indexes." The index program updates the form as it goes along and does Thisform.Refresh() after each update.

Problem: The form does not stay current. If I simply do a wait window nowait with some of the info the wait window box runs right along with the program. The form will just sit and stare at me and then jump maybe four or five tables at a time. The faster the computer the more records it jumps. It seems that VFP only wants to update the form when it feels like it and not every time I do a refresh(). I tried doing the form modless and updating from the prg and doing the form modal with the prg in a method in the form. Same result or maybe the modless works a little better.

What am I missing here?
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform