Help: Drop Button Class Properties and Methods

Drop Button Object

Drop Button Class Members

Drop Button control is a button which has ability to display drop down menu:

Ribbon Drop Button


Caption

Defines text on the button. This property is optional. Leave it empty to create button with image only.

Image

Image displayed on this button.

ImageDisabled

Image displayed when button is in the disabled state.

Menu

Returns Menu Object, which represents Drop Menu associated with this 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.

Base Class Members


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.