DiseaseApplicationState
Internal members (not exported)
Commands
BeginGuard #
Snapshot the Application state then disable interactive toggles.
Signature:
Public Sub BeginGuard(ByVal app As Application, Optional ByVal disableStatusBar As Boolean = True)
Parameters:
app: Application whose state is captured and guarded.disableStatusBar: Optional Boolean; when True the status bar is also hidden (default True).
Restore #
Restore the Application state captured by BeginGuard.
Signature:
Public Sub Restore()
Safe to call repeatedly: a Restore with nothing guarded is a no-op.
Internal Helpers
ValidateApplication #
Ensure the Application reference is valid.
Signature:
Private Sub ValidateApplication(ByVal app As Application)
ErrorHandling
ThrowError #
Centralised error raising aligned with ProjectError codes.
Signature:
Private Sub ThrowError(ByVal errNumber As ProjectError, ByVal errMessage As String)
Used in (4 file(s))
- DiseaseWorksheetManager.cls
- TestDiseaseApplicationState.bas
- TestDiseaseExporter.bas
- TestDiseaseIntegration.bas