ToolBar.Rows Property (Typed) | |
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:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL PROPERTY Rows AS USUAL GET SET
public virtual Usual Rows { get; set; }
Request Example
View SourceProperty 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:
1oToolBar:Rows := 3
2oToolBar:[Rows, #MAINTOOLBAR] := 3
To set the number of rows for a (sub-)toolbar, you should do the following:
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:
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:
1nRows := oToolBar:[Rows, #MYSUBTOOLBAR]
See Also