Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
desktop:actionbar [2018/04/14 16:09]
127.0.0.1 external edit
desktop:actionbar [2019/10/23 05:53] (current)
Line 1: Line 1:
 ==== Enumerations ==== ==== Enumerations ====
 ^ Name      ^ Values ​      ^ ^ Name      ^ Values ​      ^
-| HandlePosition | 0 = Right\\ 1 = Left\\ 2 = None | +| Alignments | Left | 
-| Styles | 0 = Glare\\ 1 = Graphite\\ 2 = FlatDark\\ 3 = FlatLight |+| ::: | Right | 
 +| HandlePosition | Right 
 +| ::: | Left 
 +| ::: | None | 
 +| Styles | Glare 
 +| ::: | Graphite ​
 +| ::: | FlatDark ​
 +| ::: | FlatLight |
  
 ==== Constants ==== ==== Constants ====
Line 10: Line 17:
 ==== Events ==== ==== Events ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
-| ButtonClick( ButtonIndex as [[http://​developer.xojo.com/​integer|Integer]], ButtonPicture as [[http://​developer.xojo.com/​picture|Picture]] ) | Fired when a button has been clicked. | +| ButtonClick( ButtonIndex as Integer, ButtonPicture as Picture ) | Fired when a button has been clicked. | 
-| 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. |+| ButtonHover( ButtonIndex as Integer, ButtonPicture as 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. |
  
Line 17: Line 24:
 ==== Methods ==== ==== Methods ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
-| AddButton( Button as [[http://​developer.xojo.com/​picture|Picture]], Button2x as [[http://​developer.xojo.com/​picture|Picture]] ) | Adds a button to the ActionBar. | +| AddButton( Button as Picture, Button2x as Picture ) | Adds a button to the ActionBar. | 
-| ButtonCount() as [[http://​developer.xojo.com/​integer|Integer]] | Returns the count of buttons currently added to the ActionBar (subtract one for iteration). | +| ButtonCount() as Integer | Returns the count of buttons currently added to the ActionBar (subtract one for iteration). | 
-| 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. |+| 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. | | RemoveAllButtons() | Remove all buttons 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. |+| RemoveButton( Index as Integer, Button2x as Boolean ) | Remove the specified button from the ActionBar. |
 ==== Properties ==== ==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
-| BGColor ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 | The background color of the items and UseCustomColors is True. | +| BGColor | Color | &​c000000 | The background color of the items 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. | +| BGHover | Color | &​c000000 | The background color of the items when the mouse is hovering over 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. | +| BGPressed | Color | &​c000000 | The background color of the items when the mouse is pressed on them and UseCustomColors is True. | 
-| BorderColor ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 | The border color of the buttons and class when UseCustomColors is True. | +| BorderColor | Color | &​c000000 | The border color of the buttons and class when UseCustomColors is True. | 
-HandleColorDark ​[[http://​developer.xojo.com/​color|Color]] | &​c000000 | The dark color of the resize handle when UseCustomColors is True. | +ButtonPosition ​Alignments | Left | Determines the placement of the buttons in the control'​s display area
-| HandleColorLight ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 | The light color of the resize handle when UseCustomColors is True. | +| HandleColorDark ​| Color | &​c000000 | The dark color of the resize handle when UseCustomColors is True. | 
-| HandlePosition ​| [[http://​developer.xojo.com/​integer|Integer]] | 0 | The position of the resize handle on the control. | +| HandleColorLight | Color | &​c000000 | The light color of the resize handle when UseCustomColors is True. | 
-Style [[http://​developer.xojo.com/integer|Integer]] | 0 | The appearance of the class and buttons. | +| HandlePosition | Integer | 0 | The position of the resize handle on the control. | 
-| UseCustomColors ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | Draws items using the defined colors in the class’s properties. |+MinimumLeft ​Integer | 10 | The minimum remaining width to the left of the control on resize
 +| MinimumRight | Integer | 10 | The maximum remaining width to the right of the control on resize
 +| 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 ==== ==== Examples ====
 There are currently no examples for this class. There are currently no examples for this class.