How to kill display refresh while performing a task?

How to kill display refresh while performing a task?

bravaiser
Enthusiast Enthusiast
392 Views
3 Replies
Message 1 of 4

How to kill display refresh while performing a task?

bravaiser
Enthusiast
Enthusiast

I have a custome procedure and takes a lot of resources, I thinks is becasue it recalculates the geometry each step inside of my procedure, is thre a way to kill display or stop refreshing while the procedure lasts? 

 

I would a appreciate any suggestion.

 

thanks

 

 

0 Likes
Accepted solutions (1)
393 Views
3 Replies
Replies (3)
Message 2 of 4

EelcoWiggers
Enthusiast
Enthusiast
Accepted solution
Hi,

You can use ThisApplication.Screenupdating = False to freeze the screen. After your done set it back to True. Make sure you catch any errors and set it back to True so you won't get stuck with a frozen application.

Regards,
Eelco
Message 3 of 4

bravaiser
Enthusiast
Enthusiast

Checking this solution right away!

0 Likes
Message 4 of 4

bravaiser
Enthusiast
Enthusiast

I was trying to gain performance by killing the screen refresh, but I do not see much gain can you explain if indeed this is the way of doing it or I am missing something ? Thanks

 

 

0 Likes