Click or drag to resize

ToolBar.Rows Property

X#
A numeric value representing the number of rows of buttons on the toolbar. Note that Rows now has an optional parameter, <symTB>, to indicate which toolbar, or sub-toolbar, to query. If not specified, #MAINTOOLBAR is assumed.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL PROPERTY Rows AS USUAL GET SET 
Request Example View Source

Property Value

Type: Usual
A numeric value representing the number of rows of buttons on the toolbar. Note that Rows now has an optional parameter, <symTB>, to indicate which toolbar, or sub-toolbar, to query. If not specified, #MAINTOOLBAR is assumed.
Examples
To set the number of rows in the main toolbar, the following statements are equivalent:
X#
1oToolBar:Rows := 3
2oToolBar:[Rows, #MAINTOOLBAR] := 3
To set the number of rows for a (sub-)toolbar, you should do the following:
X#
1oToolBar:[Rows, #MYTOOLBAR] := 4
where #MYTOOLBAR is the symbol name representing the toolbar you which to change. There are two ways to query the number of rows in the main toolbar:
X#
1nRows := oToolBar:Rows
2nRows := oToolBar:[Rows, #MAINTOOLBAR]
To query the number of rows in the sub-toolbar represented by #MYSUBTOOLBAR, you could do the following:
X#
1nRows := oToolBar:[Rows, #MYSUBTOOLBAR]
See Also