Differences

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

Link to this comparison view

desktop:slider [2018/04/14 16:09] (current)
Line 1: Line 1:
 +==== Enumerations ====
 +^ Name      ^ Values ​      ^
 +| Styles | IndieDark = 0 |
 +| ::: | Softer = 1 |
 +| ::: | AquaRound = 2 |
 +| ::: | GraphiteRound = 3 |
 +| ::: | AquaPoint = 4 |
 +| ::: | GraphitePoint = 5 |
 +| ::: | LightHandles = 6 |
 +| ::: | ModernDark = 7 |
 +| ::: | BlueSky = 8 |
 +| Types | Single = 0 |
 +| ::: | Range = 1 |
  
 +==== Constants ====
 +^ Name      ^ Type     ^ Value       ^
 +|  |  | This class exposes no constants. |
 +
 +==== Events ====
 +^ Definition ​     ^ Description ​      ^
 +| ValueChange() | Triggered when the user has changed the value. |
 +
 +==== Methods ====
 +^ Definition ​     ^ Description ​      ^
 +| StyleCount() as [[http://​developer.xojo.com/​integer|Integer]] | Returns a count (Ubound + 1) of all available styles. |
 +| StyleName( intIndex as [[http://​developer.xojo.com/​integer|Integer]] ) as [[http://​developer.xojo.com/​string|String]] | Returns the name of a given style. |
 +
 +==== Properties ====
 +^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
 +| LargeChange | [[http://​developer.xojo.com/​integer|Integer]] | 20 | Value to increase/​decrease when the user clicks on the slider track. |
 +| Maximum | [[http://​developer.xojo.com/​integer|Integer]] | 100 | Maximum slider value. |
 +| Minimum | [[http://​developer.xojo.com/​integer|Integer]] | 0 | Minimum slider value. |
 +| ShowValueInTooltip | [[http://​developer.xojo.com/​boolean|Boolean]] | False | Displays the current value in the control'​s HelpTag and updates in real-time. |
 +| SliderBGColor | [[http://​developer.xojo.com/​color|Color]] | &​c000000 | Background color of the slider knob. |
 +| SliderBorderColor | [[http://​developer.xojo.com/​color|Color]] | &​c000000 | Border color of the slider knob. |
 +| SmallChange | [[http://​developer.xojo.com/​integer|Integer]] | 1 | Amount to increase/​decrease value on small changes. |
 +| Style | Styles | GraffitiSlider.Styles.IndieDark | The current drawing style of the slider. |
 +| TrackBGColor | [[http://​developer.xojo.com/​color|Color]] | &​c000000 | Background color of the slider track. |
 +| TrackBorderColor | [[http://​developer.xojo.com/​color|Color]] | &​c000000 | Border color of the slider track. |
 +| Type | Types | GraffitiSlider.Types.Single | The type of slider this is, Single or Ranged values. |
 +| UseDefaultColors | [[http://​developer.xojo.com/​boolean|Boolean]] | True | Use the colors corresponding to the styles, rather than those set in properties when True. |
 +| Value | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The current slider value (when Type = Types.Single). |
 +| ValueHigh | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The current high value (when Type = Types.Range). |
 +| ValueLow | [[http://​developer.xojo.com/​integer|Integer]] | 0 | The current low value (when Type = Types.Range). |
 +
 +==== Examples ====
 +There are currently no examples for this class.