VLButtonBar Reference

Read/Write Property ButtonSize

See Also See Also Applies To Applies To

Returns or sets button sizing mode of a VLButtonBar control.

 

Syntax

object.ButtonSize[=value]

 

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

 

Settings

The settings for value are:

Constant Setting Description
ConstantvlAutoCalculated 0 (default) Button size is automatically calculated by the control.
ConstantvlUserSpecified 1 Button size is taken from ButtonWidth and ButtonHeight properties.

 

Remark

When ButtonSize is set to vlAutoCalculated, the button size will be controlled by the picture sizes and captions of all buttons in a group. Also, it will be affected by the ButtonFlow, ButtonLayout and ButtonTextPostion properties.