Differences

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

Link to this comparison view

Next revision
Previous revision
desktop:switch [2017/04/10 04:27]
agcyphers created
desktop:switch [2018/04/14 16:09] (current)
Line 1: Line 1:
-====== Enumerations ​======+==== Enumerations ====
 ^ Name      ^ Values ​      ^ ^ Name      ^ Values ​      ^
 |  | This class exposes no enumerations. | |  | This class exposes no enumerations. |
  
-====== Constants ​======+==== Constants ====
 ^ Name      ^ Type     ^ Value       ^ ^ Name      ^ Type     ^ Value       ^
-| 3D | Number ​| 0 | +| 3D | [[http://​developer.xojo.com/​integer|Integer]] ​| 0 | 
-| Flat | Number ​| 1 | +| Flat | [[http://​developer.xojo.com/​integer|Integer]] ​| 1 | 
-| Oval3D | Number ​| 2 | +| Oval3D | [[http://​developer.xojo.com/​integer|Integer]] ​| 2 | 
-| OvalFlat | Number ​| 3 | +| OvalFlat | [[http://​developer.xojo.com/​integer|Integer]] ​| 3 | 
-| Outset | Number ​| 4 | +| Outset | [[http://​developer.xojo.com/​integer|Integer]] ​| 4 | 
-| Dark | Number ​| 5 |+| Dark | [[http://​developer.xojo.com/​integer|Integer]] ​| 5 |
  
-====== Events ​======+==== Events ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
 | ValueChange() | Fired when the value is changed. | | ValueChange() | Fired when the value is changed. |
  
-====== Methods ​======+==== Methods ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
 |  | This class does not expose any methods. | |  | This class does not expose any methods. |
  
-====== Properties ​======+==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
-| Bold | Boolean | False | Determines whether the value text is drawn in bold. | +| Bold | [[http://​developer.xojo.com/​boolean|Boolean]] | False | Determines whether the value text is drawn in bold. | 
-| BorderColorDark | Color | &​c000000 | Determines the dark border color when UseCustomColors is True. | +| BorderColorDark ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 | Determines the dark border color when UseCustomColors is True. | 
-| BorderColorLight | Color | &​c000000 | Determines the light border color when UseCustomColors is True. | +| BorderColorLight ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 | Determines the light border color when UseCustomColors is True. | 
-| EnableAnimation | Boolean | True | Sets whether the class value change is animated. | +| EnableAnimation ​| [[http://​developer.xojo.com/​boolean|Boolean]] | True | Sets whether the class value change is animated. | 
-| FalseBGColor | Color | &​c000000 | Sets the background color of the False value. | +| FalseBGColor ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 | Sets the background color of the False value. | 
-| FalseText | String | ""​ | The text display in the False value. | +| FalseText ​| [[http://​developer.xojo.com/​string|String]] | ""​ | The text display in the False value. | 
-| InvertValues | Boolean | False | Swap the True and False values positions. | +| InvertValues ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | Swap the True and False values positions. | 
-| Italic | Boolean | False | Determines whether the values’ text is drawn in italics. | +| Italic ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | Determines whether the values’ text is drawn in italics. | 
-| Style | Integer | 0 | Determines the visual style of the class. | +| Style | [[http://​developer.xojo.com/​integer|Integer]] | 0 | Determines the visual style of the class. | 
-| SwitchColor | Color | &​c000000 | Determines the color of the value switch when UseCustomColors is True. | +| SwitchColor ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 | Determines the color of the value switch when UseCustomColors is True. | 
-| TextColor | Color | &​cFFFFFF | Sets the color of the value text when UseCustomColors is True. | +| TextColor ​| [[http://​developer.xojo.com/​color|Color]] | &​cFFFFFF | Sets the color of the value text when UseCustomColors is True. | 
-| TextFont | String | "​System"​ | Sets the font face of the value text. | +| TextFont ​| [[http://​developer.xojo.com/​string|String]] | "​System"​ | Sets the font face of the value text. | 
-| TextSize | Integer | 0 | Sets the size of the value text font. | +| TextSize ​| [[http://​developer.xojo.com/​integer|Integer]] | 0 | Sets the size of the value text font. | 
-| TrueBGColor | Color | &​c000000 | Determines the background color of the True value when UseCustomColors is True. | +| TrueBGColor ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 | Determines the background color of the True value when UseCustomColors is True. | 
-| TrueText | String | ""​ | The text displayed ​the True value. | +| TrueText ​| [[http://​developer.xojo.com/​string|String]] | ""​ | The text displayed ​as the True value. | 
-| Underline | Boolean | False | Sets whether the values’ text is displayed with an underline. | +| Underline ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | Sets whether the values’ text is displayed with an underline. | 
-| UseCustomColors | Boolean | False | Sets whether the class is displayed used the colors defined in properties, or with their defaults. | +| UseCustomColors ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | Sets whether the class is displayed used the colors defined in properties, or with their defaults. | 
-| Value | Boolean | False | The current value of the Switch. |+| Value | [[http://​developer.xojo.com/​boolean|Boolean]] | False | The current value of the Switch. |
  
-====== Examples ​======+==== Examples ====
 There are currently no examples for this class. There are currently no examples for this class.