disappearing act dating - Visio screenupdating

by  |  16-Sep-2019 02:36

When set to False, Visio will not update its window until the property is set to True again.

Return Value Integer Remarks Use the Screen Updating property to increase performance during a series of actions.

But, if you add a custom property row to an instance shape then all of the rows become local, whether their values are different or not.

Then you can turn screen updating on to update the screen.

If you send a large number of commands to a Microsoft Visio instance while screen updating is turned off, the Visio instance may redisplay the screen occasionally to flush its buffers.

My Excel tool performs a long task, and I'm trying to be kind to the user by providing a progress report in the status bar, or in some cell in the sheet, as shown below.

But the screen doesn't refresh, or stops refreshing at some point (e.g. The task eventually completes but the progress bar is useless. For i=1 to imax ' imax is usually 30 or so fraction Done=cdbl(i)/cdbl(imax) Application.

Display Status Bar = True ''//Make sure that the statusbar is visible For i = 1 To i Max ''// imax is usually 30 or so fraction Done = CDbl(i) / CDbl(i Max) Application.

Community Discussion