471,624 Members | 1,767 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,624 software developers and data experts.

Locking refresh of winform

Hi:

Can I lock refresh of winform to avoid to visualize some temporary changes ?
I am changing bindincontext of some controls to do certain checkings and I
don't want that the user sees the changes of field's contents..
Visual FoxPro, for example, has intruction: Thisform.LockScreen

Thanks
Nov 21 '05 #1
2 1696
Hi,

Take a look at the forms SuspendLayout and ResumeLayout methods.

http://msdn.microsoft.com/library/de...ayouttopic.asp

http://msdn.microsoft.com/library/de...ayouttopic.asp

Ken
----------------
"Luis Soler" <none@none> wrote in message
news:uS*************@TK2MSFTNGP10.phx.gbl...
Hi:

Can I lock refresh of winform to avoid to visualize some temporary changes ?
I am changing bindincontext of some controls to do certain checkings and I
don't want that the user sees the changes of field's contents..
Visual FoxPro, for example, has intruction: Thisform.LockScreen

Thanks

Nov 21 '05 #2
"Luis Soler" <none@none> schrieb:
Can I lock refresh of winform to avoid to visualize some temporary changes
?
I am changing bindincontext of some controls to do certain checkings and I
don't want that the user sees the changes of field's contents..
Visual FoxPro, for example, has intruction: Thisform.LockScreen


Preventing controls from redrawing
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=disableredrawing&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Nid | last post: by
9 posts views Thread by Irene | last post: by
8 posts views Thread by arijitchatterjee123 | last post: by
1 post views Thread by Will | last post: by
1 post views Thread by Zri Man | last post: by
4 posts views Thread by Alex Bibiano | last post: by
2 posts views Thread by aaron.kempf | last post: by
6 posts views Thread by George | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.