Differences

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

Link to this comparison view

Both sides previous revision Previous revision
web:buttonsegment [2018/08/08 08:15]
agcyphers [Methods]
web:buttonsegment [2019/10/23 05:53] (current)
Line 8: Line 8:
 ==== Constants ==== ==== Constants ====
 ^ Name      ^ Type     ^ Value       ^ ^ Name      ^ Type     ^ Value       ^
-| SizeDefault ​| [[http://​developer.xojo.com/​integer|Integer]] | 0 | +| SizeDefault | Integer | 0 | 
-| SizeExtraSmall ​| [[http://​developer.xojo.com/​integer|Integer]] | 3 | +| SizeExtraSmall | Integer | 3 | 
-| SizeLarge ​| [[http://​developer.xojo.com/​integer|Integer]] | 1 | +| SizeLarge | Integer | 1 | 
-| SizeSmall ​| [[http://​developer.xojo.com/​integer|Integer]] | 2 |+| SizeSmall | Integer | 2 |
  
 ==== Events ==== ==== Events ====
Line 24: Line 24:
 | Count() as Integer | Returns the number of items currently in the display. | | Count() as Integer | Returns the number of items currently in the display. |
 | DeselectAll() | Deselects all segment buttons. | | DeselectAll() | Deselects all segment buttons. |
-| RemoveButton( ButtonID as [[http://​developer.xojo.com/​string|String]] ) | Removes a button from the control. | +| RemoveButton( ButtonID as String ) | Removes a button from the control. | 
-| RemoveButton( intIndex as [[http://​developer.xojo.com/​integer|Integer]] ) | ::: |+| RemoveButton( intIndex as Integer ) | ::: |
 | SelectAll() | Selects all buttons. | | SelectAll() | Selects all buttons. |
  
Line 31: Line 31:
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
 | FullWidth | Boolean | False | If True all buttons will expand to fill the display, ignoring the assigned SegmentSize. | | FullWidth | Boolean | False | If True all buttons will expand to fill the display, ignoring the assigned SegmentSize. |
-| SegmentSize ​| [[http://​developer.xojo.com/​integer|Integer]] | 0 | The size of the button segments, matching the class'​s constants. |+| SegmentSize | Integer | 0 | The size of the button segments, matching the class'​s constants. |
 | SelectedStyle | WebStyle | Nil | The WebStyle to apply to selected buttons. | | SelectedStyle | WebStyle | Nil | The WebStyle to apply to selected buttons. |
-| Toggle ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | Determines whether the buttons should be toggleable. |+| Toggle | Boolean | False | Determines whether the buttons should be toggleable. |
 | Value | GraffitiWebSegmentButton | Nil | The currently selected GraffitiWebSegmentButton. ​ Not for use when Toggle = true. | | Value | GraffitiWebSegmentButton | Nil | The currently selected GraffitiWebSegmentButton. ​ Not for use when Toggle = true. |