See Also

Enumerations

Name Values
Alignments Left
Center
Right
BGStyles Light
White
Dark
Primary
Secondary
Info
Success
Warning
Danger
BorderStyles Dark
Light
White
Primary
Secondary
Info
Success
Warning
Danger
BorderTypes None
All
Top
Right
Bottom
Left
NoTop
NoRight
NoBottom
NoLeft
ButtonStyles Primary
Secondary
Success
Danger
Warning
Info
Light
Dark
Link
Corners None
Rounded
Top
Right
Bottom
Left
Circle
DisableModes ModeButton
ModeComponent
IconPositions Left
Top
Right
Bottom
TextStyles Dark
Light
White
Primary
Secondary
Info
Success
Warning
Danger

Constants

Name Type Value

This class exposes no constants.

Events

Definition Description
Action( ClickedButton as GraffitiWebToolbarButton, mouseX as Integer, mouseY as Integer, buttonDimensions as REALbasic.Rect ) Fired when the button is clicked.
ButtonEnter( theButton as GraffitiWebToolbarButton ) Raised when the mouse enters the specified button.
ButtonExit( theButton as GraffitiWebToolbarButton ) Raised when the mouse exits the specified button.

Methods

Definition Description
AddButton( newButton as GraffitiWebToolbarButton ) Adds newButton to the toolbar.
Button( index as Integer ) as GraffitiWebToolbarButton Returns the button at the specified index.
ButtonCount() as Integer Returns the number of buttons currently added to the control.
InsertButton( atIndex as Integer, newButton as GraffitiWebToolbarButton ) Inserts newButton at the index supplied.
LastButton() as GraffitiWebToolbarButton Returns the last added/inserted button.
RemoveAll() Removes all buttons from the toolbar.
RemoveButton( index as Integer ) Removes the specified button from the toolbar.
RemoveButton( theButton as GraffitiWebToolbarButton )

Properties

Name Type Default Value Description
AutoDisable Boolean True When True, buttons will automatically be disabled when clicked and must be manually re-enabled.
AutoDisableMode DisableModes ModeButton The method used for AutoDisable. When set to ModeComponent, the entire control will be disabled. ModeButton will disable only the Button that was interacted with.
ToolbarStyle BGStyles Light Background color of the toolbar.

Examples

This class currently has no examples.

Notes

This class currently has no notes.