Skip to content

EnableSwitch Method

Description

Enables or disables a pane switch.

Syntax

Public Sub EnableSwitch( _
    ByVal Id As Long, _
    ByVal Enable As Boolean _
)

Parameters

  • Id: Id of the switch to enable or disable.
  • Enable: True to enable the switch, False to disable the switch.

Remarks

Use EnableSwitch to enable or disable individual switches in the switch pane.

See Also

StatusBarSwitchPane Object


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.