Programming with Reflection
ShowToolbarButtonsFixedWidth method
Syntax object.ShowToolbarButtonsFixedWidth ToolbarName, YesNo
Determines whether all of the toolbar buttons in the specified toolbar are set equal to the widest button. For example, once you execute the following statement, Reflection automatically increases the size of every button on the Standard toolbar when you add additional buttons with longer labels:
Session.ShowToolbarButtonsFixedWidth "Standard", True
ToolbarName Argument type: String
The name of the toolbar you want to configure. Toolbar names are not case sensitive. The default toolbar names are:
Standard
File Transfer
Visual Basic
Setup
Use NewToolbar to create a new toolbar.
YesNo Argument Type: Boolean
Use True (or rcYes) to have Reflection automatically adjust all of the toolbar buttons to be equal in size to the widest button. Use False (or rcNo) to have Reflection adjust button size individually, based on the content of each button.