VLButtonBar Reference

Read/Write Property ButtonFlow

See Also See Also Applies To Applies To

Returns or sets direction in which button layout flows.

 

Syntax

object.ButtonFlow[=value]

 

The ButtonFlow 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 flow of the buttons, as described in Settings.

 

Settings

The settings for value are:

Constant Setting Description
ConstantvlVertical 0 (default) button layout flows from top to bottom, accomodating as many buttons horizontally in the available width as possible. If there are buttons going beyond the visible area, then vertical scrollbars automatically appear.
ConstantvlHorizontal 1 button layout flows from left to right, accomodating as many buttons vertically in the available height as possible. If there are buttons going beyond the visible area, then vertical scrollbars automatically appear.

 

Remark

When the ButtonSize property is set to vlAutoCalculated, the number of buttons drawn in a row/column is decided by the picture sizes, captions of the buttons, font and the ButtonLayout .