Occurs immediately before the system goes into suspend mode.
Syntax
Private Sub object_PowerSuspend([index As Integer])
The PowerSuspend event syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
index | A numeric expression that evaluates to the index of a control if it is in a control array. |