CommandBarButtons.Move
Syntax:
Parameters:
<Button> (required)
Index of button that you want to shift or the button itself.
<Offset> (required)
A number of buttons, by which the button should be shifted. Positive value indicates that the button will be moved towards the end of the command bar (index increment), while negative value indicated that the button will be moved towards the beginning of the command bar.
Description:
Availability:
Example:
// Move the command bar button to the right CP = Controls.CommandBar; CP.Buttons.Move(0,1); |