Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Status class
Message
 
 
À
16/06/2005 10:25:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01023966
Message ID:
01023994
Vues:
11
>I have a class that creates a form with a listbox on it. It has a function that can be called to update the listbox. This form is intended to be a visual indicator to the user about the current processing that is happening. The issue is with displaying the messages added to the listbox. I have a class that is instantiated from a commandbutton on a form and within that class I instantiate my status class and pass text status messages to update the listbox and give the user some visual feedback to the processing that is going on. The issue is I cannot get the listbox to display the updates immediately unless I add a 'wait window "" noclear timeout .001' after I pass the status message to the status class method. I've tried DOEVENTS and changing the application.autoyield property as well as refreshing the form and requerying the listbox. Only putting in the wait window to give a slight pause seems to work. any ideas?

Put some relevant code, please, so it would be easier to suggest workarounds...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform