all groups > visual studio .net general > january 2007 >
You're in the

visual studio .net general

group:

Screenupdating questiojn


Screenupdating questiojn Billy B
1/28/2007 6:06:01 AM
visual studio .net general:
I am fairly new to .net programming. In VBA there is a screenupdating = True
or False command that stops the flicker on the screen while processing is
occuring. I have tried but cannot find documentation or help on this in
VB.net. Is there a code for this in .net?

Re: Screenupdating questiojn Wayne Hartell
2/1/2007 10:58:21 PM
The ScreenUpdating property is an application defined property. I'm not sure
which app you are working on but I have mainly used Excel and it is part of
the Excel object model and does what you say. As for something like that
"being in VB.Net" there isn't really an equivalent because it's not a
language feature. There has to be some context and some implementation. For
example, .Net UI tends to define a method called SuspendLayout() so a form
can be "designed" without triggering cascading events and what not, thus
keeping performance as best as it can be. Who knows, in your context, maybe
you can implement an equivalent method or property for whatever it is you
are doing...

Wayne.

[quoted text, click to view]

AddThis Social Bookmark Button