Enumerations

Name Values
This class exposes no enumerations.

Constants

Name Type Value
kStyle_Dark Integer 0
kStyle_iPhone Integer 1
kStyle_Light Integer 2
kStyle_Modern Integer 3
kStyle_Soft Integer 4

Events

Definition Description
ValueChange() This event is fired when the toggle’s value has been changed by clicking or dragging.

Methods

Definition Description
This class does not expose any methods.

Properties

Name Type Default Value Description
AnimationTime Integer 0 Determines the length, in milliseconds, of the toggling animation.
CanClick Boolean True If true, clicking the toggle will alternate its value.
CanDrag Boolean True If true, dragging the toggle’s button one direction or the other will alter its value.
FalseStyle WebStyle Nil WebStyle applied to the false value display.
FalseText String “” Determines the text to display when the toggle’s value is False.
TrueStyle WebStyle Nil WebStyle applied to the true value display.
TrueText String “” Determines the text to display when the toggle’s value is True.
Value Boolean True The current value of the toggle.
VisualStyle Integer kStyle_Dark Sets the appearance of the toggle control.

Examples

There are currently no examples for this class.

  • Last modified: 8 months ago
  • by agcyphers