Enumerations

Name Values
HandlePosition 0 = Right
1 = Left
2 = None
Styles 0 = Glare
1 = Graphite
2 = FlatDark
3 = FlatLight

Constants

Name Type Value
This class exposes no constants.

Events

Definition Description
ButtonClick( ButtonIndex as Integer, ButtonPicture as Picture ) Fired when a button has been clicked.
ButtonHover( ButtonIndex as Integer, ButtonPicture as Picture ) Fired when the mouse is over a button.
Resized() Fired when the resize handle is used.

Methods

Definition Description
AddButton( Button as Picture, Button2x as Picture ) Adds a button to the ActionBar.
ButtonCount() as Integer Returns the count of buttons currently added to the ActionBar (subtract one for iteration).
GetButton( Index as Integer, Button2x as Boolean = False ) as Picture Returns the picture of the button at Index.
RemoveAllButtons() Remove all buttons from the ActionBar.
RemoveButton( Index as Integer, Button2x as Boolean ) Remove the specified button from the ActionBar.

Properties

Name Type Default Value Description
BGColor Color &c000000 The background color of the items and UseCustomColors is True.
BGHover Color &c000000 The background color of the items when the mouse is hovering over them and UseCustomColors is True.
BGPressed Color &c000000 The background color of the items when the mouse is pressed on them and UseCustomColors is True.
BorderColor Color &c000000 The border color of the buttons and class when UseCustomColors is True.
HandleColorDark Color &c000000 The dark color of the resize handle when UseCustomColors is True.
HandleColorLight Color &c000000 The light color of the resize handle when UseCustomColors is True.
HandlePosition Integer 0 The position of the resize handle on the control.
Style Integer 0 The appearance of the class and buttons.
UseCustomColors Boolean False Draws items using the defined colors in the class’s properties.

Examples

There are currently no examples for this class.

  • Last modified: 14 months ago
  • (external edit)