VLButtonBar Reference

Read/Write Property ButtonLayout

See Also See Also Applies To Applies To

Returns or sets the layout of active group buttons.

 

Syntax

object.ButtonLayout[=value]

 

The ButtonLayout property syntax has these parts:

Part Description
Object An object expression that evaluates to the objects in Applies to list.
Value An integer specifying the layout of the buttons, as described in Settings.

 

Settings

The settings for value are:

Constant Setting Description
ConstantvlTiled 0 Buttons will be tiled. Actual direction of tiling will be decided by ButtonFlow property.
ConstantvlLinear 1 (default) Only one button row or column will be displayed depending on the ButtonFlow setting.

 

Remark

Conventionally, when VLButtonBar is used as outlook bar, linear button layout should be used, where as when used as tool palette, tiled layout should be used.