Command Button Class Members

Command Button control is similar to the usual Form Button Control:
Ribbon Command Button
Find button on this example is a Command Button Control.
Caption
Defines text on the button.
OnAction
Macro assigned to the button. Application calls it when you click this button.
Pushed
State of the Toggle button. When this value is TRUE button is pressed.
Toggle
A toggle button allows the user to change a setting between two states.
Enabled
When this property is TRUE control responds to the User Actions. If it is set to FALSE, control doesn't respond to Mouse and Button clicks and displayed as muted.
Font
Represents Font attached to this control.
Name
Name of the control.
TextColor
Color of the text in control.
Tooltip
Text of the tooltip shown when mouse is over this control.
Visible
When this property is turned OFF control is not visible on the Ribbon.
Go to top