Skip to content

RemoveSwitch Method

Description

Removes a switch from the Switch Pane.

Syntax

Public Sub RemoveSwitch( _
    ByVal [Id] As Long _
)

Parameters

  • Id: Id of the pane to remove.

Remarks

RemoveSwitch removes a switch by passing in the Id of the switch to remove.

Switch Pane

Notes

  • AddSwitchPane is used to add a Switch Pane to the status bar.
  • AddSwitch will add a new switch to the Switch Pane.
  • The SwitchPaneClick event can be used to select/check a switch when it is clicked, as well as perform some other action when the appropriate switch has been clicked.
  • The Checked property holds the Id of the currently selected switch.

See Also


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