CommandBar.InsertButton
This function adds a button to the command bar referencing the specified command.
Syntax | Parameters | Return Value |
---|---|---|
Function CommandBar.InsertButton( _ Index As Integer, _ Optional Command As CommandIdentifier = scCmdNone, _ Optional Image As Integer = -1, _ Optional Caption As String, _ Optional UserImage As Boolean = False) As CommandBarItem |
The position of where to place the button. Type: Integer The command to run when the button is clicked. Type: CommandIdentifier Default value: scCmdNone Type: Integer Default value: -1 The tooltip for the button. Type: String Type: Boolean Default value: False |
CommandBarItem |
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.