Callback: | AEFSetMultiValueFromGadget |
Arguments: |
mvGadget - Gadget containing multi-value idGadgetPath - path to mv id gadget srcGadgetPath - path to gadget containing value for id |
|
|
Description: | Given a multivalue gadget, the path to the currently selected id gadget, and the srcgadgetpath: take the value of srcGadgetPath and replace the value associated with the id in the multivalue gadget. |
Example: |
Button { Name = RemoveRole; Title = "Remove Selected Roles"; /* This button will remove all selected roles from the * my_roles_ list and put them back onto the possible_roles * list. */ Commands = AEFAppendListValuesFromListTokenNum&/.../possible_roles ("/.../SelectedRoles", ":","0"), AEFRemoveSelectedFromList&/.../SelectedRoles(), AEFSetMultiValueFromGadget&/.../my_roles_ ("/.../ClientRolesSelect","/.../SelectedRoles"); } |