CommandBarButtons.IndexOf

Syntax:

IndexOf(<Button>)

Parameters:

<Button> (required)

Type: CommandBarButton.
Command bar button.

Returned value:

Type: Number.
Command bar button index. If nothing is found, -1 is returned.

Description:

Obtains button index in the command bar button collection.

Availability:

Thick client.

    

1C:Enterprise Developer's Community