Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lock form refresh on lenghty Load()
Message
From
09/12/1999 11:13:14
 
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00299943
Message ID:
00301047
Views:
29
>>What is the property to prevent repaint of form while a lenghty process is active? Right now the form repaints somewhat slow and it looks dirty. TIA
>
>To force the form to show rapidly, you can add:
>Me.Show
>DoEvents
>
>at the beginning of your Form_Load.

That didn't work. In VFP there's the LockScreen property that when set to True prevents any refresh to the form, so you may change a bunch of the visual settings at one time and not until it's finished set LockScreen back to false so it repaints everything only once. Is there an equivalent property in VB or some other trick to achieve this? TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform