Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox Requery and Refresh
Message
From
24/04/2005 10:54:37
 
 
To
24/04/2005 08:13:07
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01007879
Message ID:
01007896
Views:
12
Before you start the requery, set the form.LockScreen to true. Then after the requery, set it make to false. This will freexe the screen from updating during the requery.
oform.LockScreen = .T.
oform.oListBox.requery()
oform.LockScreen = .F.
>I have a list box on a form that pulls the info in to a cursor from a very dynamic table. I set up a timer to requery and refresh the listbox every 10 seconds. The problem is that during the requery, it blanks out the listbox for about 2-3 secs while it searches for the info.
>
>How can I get it to leave the 'old' data on screen and only refresh the values in a split second?
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform