IProcessAnalyst.UnBlockUpdates [Method]
- Last UpdatedJul 18, 2023
- 1 minute read
Unblocks certain aspects of the Process Analyst's redrawing and data updating.
Defined As
-
[VBA] UnblockUpdates()
-
[Cicode] UnblockUpdates()
-
[C++] HRESULT UnblockUpdates()
Remarks
-
This method unblocks three redraw systems: redraw for the chart, the Object View, and the toolbars.
-
Data updates are also unblocked.
-
The Process Analyst has a built-in counter to store how many times the block and unblock have been called, so that only the final UnBlockUpdates call actually unblocks the above mentioned data updates and redraw systems.
Execution Result
If the function succeeds, the return value will be Success. If the function does not succeed, the return value will be GeneralFailure. If other BlockUpdates are in effect, a Success will be returned also (for those C++ users, S_FALSE will be returned in this case).
Calling Syntax
This example assumes there is a valid Process Analyst object to be passed into the example methods.
[VBA]
Sub Example(ProcessAnalyst As Object)
ProcessAnalyst.UnblockUpdates()
End Sub
[Cicode]
FUNCTION Example(OBJECT hProcessAnalyst)
_ObjectCallMethod(hProcessAnalyst, "UnblockUpdates");
END