Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suspend form refresh?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Suspend form refresh?
Miscellaneous
Thread ID:
00090654
Message ID:
00090654
Views:
59
Is it possible to tell foxpro to temporarily suspend any refreshes to a form? During a listbox sort method, the list is trying to keep up with what's happening in the method and it's slowing things down. As a test, I set the visible property to false, do the necessary code, then set the visible property back to true. This is ok, but not visually appealing (albeit better than what it does if I don't set the visible off). Can you some how tell foxpro "Hey, stop refreshing the form until further notice"?

To see what I'm talking about, create a list with multiselect=.T. and populate it with a good number of rows. Next make a command button that selects all items in the list. You'll see each item get selected one by one (in a matter of speaking). (My code does a for x = 1 to thisform.lstList.listcount and sets the Selected property to true for each item. If there's a quicker, better way, I'd like to know!)


Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform