Occurs when the user changes device mode settings.
Syntax
Private Sub object_DevModeChange([index As Integer,] ByVal devicename As String)
The DevModeChange 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. |
devicename | A string expression that identifies a device name specified in the Windows registry. |