Skip to content

Properties for cToolbarButton

View property list in alphabetical order.

Name Description Defining Class
pbAutoSize Allows you to create buttons with variable width By setting the pbAutoSize property to True, the width of the button will be calculated from the size of the label. cToolbarButton
pbChecked Programmatically checks/unchecks a button with a peStyle of bsCheck cToolbarButton
pbEnabled Enables or disables a button Use the pbEnabled property to enable or disable a button. cToolbarButton
pbGrouped Creates groups of buttons Use the pbGrouped property to create groups of buttons. cToolbarButton
pbIndeterminate Has no predetermined meaning and you are free to implement your own application-logic cToolbarButton
pbPressed Programmatically sets the pressed/released state of a button Set the pbPressed property to programmatically set the pressed/released state of a button. cToolbarButton
pbVisible Determines whether the button is visible in the toolbar pbVisible determines whether the button is visible in the toolbar. cToolbarButton
pbWrap Determines if next button wil wrap Setting pbWrap to True will ensure that the button is the last one on a row, by placing the next button on a new row. cToolbarButton
peStyle Changes the style of a button Use the peStyle property to change the style of a button. cToolbarButton
phmOnClick Stores the method-handle of the event to send whenever the button is clicked phmOnClick stores the method-handle of the event to send whenever the button is clicked. cToolbarButton
phmOnDropDown Stores the method-handle of the event to send whenever the drop-down element of a button with the peStyle property set to bsDropDown is clicked cToolbarButton
phmOnHotItemEntering Stores the method-handle of the event to send whenever the mouse cursor enters the bounds of the button cToolbarButton
phmOnHotItemLeaving Stores the method-handle of the event to send whenever the mouse cursor leaves the bounds of the button cToolbarButton
phmOnRightClick Stores the method-handle of the event to send whenever the button is clicked with the right mouse button cToolbarButton
piImage Set this property to the index of an image in an imagelist Set the piImage property to the index of an image in an imagelist. cToolbarButton
psLabel Determines the text that will be displayed as the label A button can have a text label displayed on it as well as an image. cToolbarButton
psStatusHelp Displayed in the panel's statusbar, whenever the tooltip is displayed cToolbarButton
psToolTip Determines text that is displayed whenever a tooltip is displayed When the mouse cursor hovers over a button for a short while, a tooltip will be displayed. cToolbarButton

Inherited Properties from cObject

Name Description Defining Class
Child_Count Returns the number of child objects the object contains Child_Count returns the number of child objects the object contains. cObject
Delegation_Mode Determines if and how unknown messages are delegated The delegation_mode of an object determines the method by which unknown messages are handled. cObject
Name Returns the full name of the object including parentage Name returns the full name (including parentage) of the object. cObject
Object_Id Returns the object handle of the object, can be used to determine if an object exists The Object_Id property returns the object handle identifier of the object. cObject
Object_Label Returns the short name of an object Object_Label returns the short name of the object using the Name property. cObject
Parent Returns the parent of an object The Parent property returns parent object handle of an object. cObject
peNeighborhood Determines how an object and its descendents participate in object neighborhood referencing cObject