InterfaceControlItemCollection.SwitchInterface

Syntax:

SwitchInterface(<InterfaceNames>)

Parameters:

<InterfaceNames> (optional)

Type: String.
Comma-separated list of names of interfaces that are to be made visible.

Description:

Method for distributed control of command interface visibility. When this method is called, it hides all interfaces except those with Switchable property set to False, and then shows interfaces listed in the parameter.

Availability:

Thick client.

Example:

MainInterface.SwitchInterface("Main,Marketing");

    

1C:Enterprise Developer's Community