Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Controls go blank during processing
Message
De
24/06/2008 09:34:14
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
 
À
22/06/2008 11:37:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01326002
Message ID:
01326326
Vues:
15
Hi Tom,
Did Sergey's solution work? I suppose it's heresy to wonder. :-)
I would have thought you should separate the download part from the part that shows the progress.
Creating a OLE public class and senting messages to it from the download part I would think should work well.
This.oStatus = NEWOBJECT("frmStatusOLE", "frmStatusOLE.VCX")
This.oStatus.WhatGoingOn("First Thing Facts Contained In An Object")


>I have a very intensive 30+ minutes process that downloads five large tables (a few over 500K rows) via ADO then drops them into Excel's pivotcache object. In order to reveal the status to the end user, I created a form that contains a grid that is used to show the status such that task 1 (download table 1) is complete.
>
>I am running the process now and when I switched to another app (such as the UT) and come back to my program the form appears but it is all blank. I can no longer see the grid that is attached to the form at all.
>
>I suppose I need to call a form refresh or paint but how can I do that when all the processing cycles are involved in an intensive process? Can I do something like a click event on the form to refresh itself or will that be ignored when the program is running since all resrouces are assigned to the table download? Is there a way around this sitution? If not, all my work to create a form with a grid to show the status is probably a waste of time...
Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform