Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

*Freeze* a form

Status
Not open for further replies.

Duvy

Programmer
Joined
Nov 1, 2002
Messages
14
Location
BE
Hi all,

Is there a way to "freeze" a form in order to peform some updates and then "release" it. This is needed to avoid a flashing screen as far I'm using a lot of small picture to show warning messages. Instead to use sentences, I'm using yellow and/or red squares close to the fields.

TIA
Yvon
 
You can use
Echo False

to stop updating the screen and

Echo True
when you're done.

Don't forget the Echo True part, otherwise you'll think the application has stopped responding.

HTH



[pipe]
Daniel Vlas
Systems Consultant

 
Ok, thanks a lot Daniel. It works but not where I want it to.
The main concern with a freezing action is when program is *painting* the screen and I can't use it = no effect. I guess I should use some API from GDI.

Anyway, I keep the trick ;-)

Have a good day,
Yvon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top