Back

AddSwitchSettings

Hello World

Adds an MUI SwitchSettings to a given layout.

sws = MUI.AddSwitchSettings( parent, text, width, height, value, color, backColor ) → Object

See CreateSwitchSettings for a full documentation.

Boolean
String
Number: fraction (0..1)
String:
  hexadecimal: “#rrggbb”, “#aarrggbb”
  colourName: “red”, “green”, ...
Object: MUI Layout or DS Layout control