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
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
ToolbarStyle BGStyles Light Background color of the toolbar.

Examples

This class currently has no examples.

Notes

This class currently has no notes.