Click or drag to resize

ToolBar Properties

X#

The ToolBar type exposes the following members.

Properties
  NameDescription
Public propertyBackground
The brush used for painting the background of the control. For example, in a single line edit control, the background is the color behind the text in the edit control.
(Inherited from Control.)
Public propertyBandCount
The number of bands in the toolbar.
Public propertyBandImageList
An Image List object used for the bands.
Public propertyBitmap
The Bitmap object (containing a bitmap ribbon with one or more button images) that will be used to display buttons on the toolbar. If not assigned, the default bitmap is used.
Public propertyBorderStyle
This property is no longer supported. It is included only for compatibility with existing X#1.0 code.
Public propertyBoundingBox
The bounding box, in canvas coordinates, representing the minimal area that encloses the toolbar.
Public propertyButtonCount
A numeric value representing the number of buttons currently on the toolbar.
Public propertyButtonSize
A Dimension object representing the size of buttons on the toolbar. If not assigned, the default is a 16 by 16 button.
Public propertyButtonStyle
A constant that represents how the buttons are displayed:
Public propertyCaption
A string representing the caption of the control (i.e., the static text identifying the control)
(Inherited from Control.)
Public propertyClientArea
A bounding box (group or character box) representing the area of its parent window that remains available given the placement of the toolbar.
Public propertyContextMenu
A menu object representing the local pop-up menu for a control.
(Inherited from Control.)
Public propertyControlID
A number between 1 and 8000 representing the unique ID of a control
(Inherited from Control.)
Public propertyFieldSpec
The field specification connected to the control.
(Inherited from Control.)
Public propertyGapSize
This property is no longer supported. It is included only for compatibility with existing X#1.0 code.
Public propertyHyperLabel
The hyperlabel connected to the control.
(Inherited from Control.)
Public propertyImageCount
A numeric value representing the number of images in the toolbar bitmap. If a custom bitmap has been assigned to the toolbar, this value must be assigned as the number of images in that bitmap.
Public propertyLocation
This property is no longer supported. It is included only for compatibility with existing X#1.0 code.
Public propertyModified
A logical value that is set to TRUE when a standard edit control or editable combo box is in the process of being modified.
(Inherited from Control.)
Public propertyName
A string representing the name of the control.
(Inherited from Control.)
Public propertyNameSym
A symbol representing the name of the control.
(Inherited from Control.)
Public propertyOrigin
A point representing the location of a control on its owner window, in canvas coordinates.
(Inherited from Control.)
Public propertyOwner
The owner window of a control.
(Inherited from Control.)
Public propertyOwnerAlignment
Constant representing how the window will be aligned within its owner window.
(Inherited from Control.)
Public propertyReadOnly
Is the control readonly ?
(Inherited from Control.)
Public propertyCode exampleRows
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.
Public propertySeparatorSize
This property is no longer supported. It is included only for compatibility with existing X#1.0 code.
Public propertyServer
The server object that currently connected to this control. If no server is connected, the value is NIL.
(Inherited from Control.)
Public propertySize
A dimension representing the size of a control.
(Inherited from Control.)
Public propertyStatus
A hyperlabel indicating the status of the control after a validation attempt or other action.
(Inherited from Control.)
Public propertyCode exampleTextValue
A string representing the value held in the control.
(Inherited from Control.)
Public propertyToolTipText
String value representing the tooltip text used when the user moves the mouse pointer over the control.
(Inherited from Control.)
Public propertyUseHLForToolTip
Logical value determining whether the descriptive text of a control's Hyperlabel should be used as the tooltip text.
(Inherited from Control.)
Public propertyCode exampleValue
The value held in the control, in whatever data type the control holds.
(Inherited from Control.)
Public propertyValueChanged
A logical value representing whether the control's Value has been changed from its prior setting.
(Inherited from Control.)
Top
See Also