Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
desktop:actionbar [2017/04/09 19:49]
agcyphers created
desktop:actionbar [2018/04/14 16:09] (current)
Line 1: Line 1:
-====== Enumerations ​======+==== Enumerations ====
 ^ Name      ^ Values ​      ^ ^ Name      ^ Values ​      ^
 | HandlePosition | 0 = Right\\ 1 = Left\\ 2 = None | | HandlePosition | 0 = Right\\ 1 = Left\\ 2 = None |
 | Styles | 0 = Glare\\ 1 = Graphite\\ 2 = FlatDark\\ 3 = FlatLight | | Styles | 0 = Glare\\ 1 = Graphite\\ 2 = FlatDark\\ 3 = FlatLight |
  
-====== Constants ​======+==== Constants ====
 ^ Name      ^ Type     ^ Value       ^ ^ Name      ^ Type     ^ Value       ^
 |  |  | This class exposes no constants. | |  |  | This class exposes no constants. |
  
-====== Events ​======+==== Events ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
-| ButtonClick( ButtonIndex as Integer, ButtonPicture as Picture ) | Fired when a button has been clicked. | +| ButtonClick( ButtonIndex as [[http://​developer.xojo.com/​integer|Integer]], ButtonPicture as [[http://​developer.xojo.com/​picture|Picture]] ) | Fired when a button has been clicked. | 
-| ButtonHover( ButtonIndex as Integer, ButtonPicture as Picture ) | Fired when the mouse is over a button. |+| ButtonHover( ButtonIndex as [[http://​developer.xojo.com/​integer|Integer]], ButtonPicture as [[http://​developer.xojo.com/​picture|Picture]] ) | Fired when the mouse is over a button. |
 | Resized() | Fired when the resize handle is used. | | Resized() | Fired when the resize handle is used. |
  
  
-====== Methods ​======+==== Methods ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
-| AddButton( Button as Picture, Button2x as Picture ) | Adds a button to the ActionBar. | +| AddButton( Button as [[http://​developer.xojo.com/​picture|Picture]], Button2x as [[http://​developer.xojo.com/​picture|Picture]] ) | Adds a button to the ActionBar. | 
-| ButtonCount() as Integer | Returns the count of buttons currently added to the ActionBar (subtract one for iteration). | +| ButtonCount() as [[http://​developer.xojo.com/​integer|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. |+| GetButton( Index as [[http://​developer.xojo.com/​integer|Integer]], Button2x as [[http://​developer.xojo.com/​boolean|Boolean]] = False ) as [[http://​developer.xojo.com/​picture|Picture]] | Returns the picture of the button at Index. |
 | RemoveAllButtons() | Remove all buttons from the ActionBar. | | RemoveAllButtons() | Remove all buttons from the ActionBar. |
-| RemoveButton( Index as Integer, Button2x as Boolean ) | Remove the specified button from the ActionBar. | +| RemoveButton( Index as [[http://​developer.xojo.com/​integer|Integer]], Button2x as [[http://​developer.xojo.com/​boolean|Boolean]] ) | Remove the specified button from the ActionBar. | 
-====== Properties ​======+==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
-| BGColor | Color | The background color of the items and UseCustomColors is True. | +| BGColor ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 ​| The background color of the items and UseCustomColors is True. | 
-| BGHover | Color | The background color of the items when the mouse is hovering over them and UseCustomColors is True. | +| BGHover ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 ​| The background color of the items when the mouse is hovering over them and UseCustomColors is True. | 
-| BGPressed | Color | The background color of the items when the mouse is pressed on them and UseCustomColors is True. | +| BGPressed ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 ​| The background color of the items when the mouse is pressed on them and UseCustomColors is True. | 
-| BorderColor | Color | The border color of the buttons and class when UseCustomColors is True. | +| BorderColor ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 ​| The border color of the buttons and class when UseCustomColors is True. | 
-| HandleColorDark | Color | The dark color of the resize handle when UseCustomColors is True. | +| HandleColorDark ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 ​| The dark color of the resize handle when UseCustomColors is True. | 
-| HandleColorLight | Color | The light color of the resize handle when UseCustomColors is True. | +| HandleColorLight ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 ​| The light color of the resize handle when UseCustomColors is True. | 
-| HandlePosition | Integer | The position of the resize handle on the control. | +| HandlePosition ​| [[http://​developer.xojo.com/​integer|Integer]] | 0 | The position of the resize handle on the control. | 
-| Style | Integer | The appearance of the class and buttons. | +| Style | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The appearance of the class and buttons. | 
-| UseCustomColors | Boolean | Draws items using the defined colors in the class’s properties. |+| UseCustomColors ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | Draws items using the defined colors in the class’s properties. |
  
-====== Examples ​======+==== Examples ====
 There are currently no examples for this class. There are currently no examples for this class.