Callback: | AEFToggleGadgetWithSwitch |
Arguments: |
Gadget - Gadget whose value is to be modified srcGadgetPath - Path to source gadget |
|
|
Description: | Toggles the sensitivity of the gadget at "srcGadgetPath" based on the value of the switch "switch" gadget. |
Example: |
Switch { /* * This switch will toggle the sensitivity of the * gadget ValueField on and off based on the * switch position. */ Name = ControlSwitch; Title = "ControlSwitch"; TitlePos = RIGHT; ChildColumnAlignment = LEFT; ChildRowAlignment = BOTTOM; On = "On"; Off = "Off"; Value = "Off"; Changed = AEFToggleGadgetWithSwitch&/.../ControlSwitch ("/.../ValueField"); } |