Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Status class
Message
From
16/06/2005 10:25:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Status class
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01023966
Message ID:
01023966
Views:
76
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?
Next
Reply
Map
View

Click here to load this message in the networking platform