GraffitiCommandBarButton

View Categories

Enumerations #

Name Values

This class exposes no enumerations.

Constants #

Name Type Value

This class exposes no constants.

Events #

Definition Parameters Return Type Description

This class exposes no events.

Methods #

Definition Parameters Return Type Description
Constructor Icon as Picture None Creates a new instance of the class.
Tooltip as String
Menu as DesktopMenuItem = Nil

Properties #

Name Type Default Value Description
ForegroundColor Color &c000000 Color used for the button’s icon.
ForegroundActiveColor Color &c000000 Color used for the button’s icon when Value = True.
ForegroundHoverColor Color &c000000 Color used for the button’s icon when the mouse is hovering above it.
Icon Picture Nil The icon to display in the button.
IconShift Boolean True When True, the icon should be a monochrome image that will be colorized to match the current system theme.
IndicatorActiveColor Color &c000000 Color used for the left-hand indicator when Value = True.
IndicatorColor Color &c000000 Color used for the left-hand indicator.
Menu DesktopMenuItem Menu to display when the user clicks the button.
TickColor Color &c000000 Color applied to the tick icon that denotes the existence of a menu.
Tooltip String “” Tooltip to display when user’s pointer is over the button.
UseCustomColors Boolean False When True, the control will draw this button using its defined color properties.
Value Boolean False Current selection value of the button.

Examples #

This class currently has no examples.

Notes #

This class currently has no notes.