Callback: | AEFAppendValueFromSelectedMultiValue |
Arguments: |
Gadget - Gadget whose value is to be modified mvGadgetPath - path to multivalued gadget idSelectPath - path to gadget containing mv ids |
|
|
Description: | Given a gadget, the gadget path to the multivalue gadget, and a path to the gadget containing the selected multivalue id, take the value associated with the multivalue id and set the gadget to that value. If the multivalue looks like: #client1=a#client2=d# and client1 is selected in idSelectPath gadget, then the value a is set into the gadget. |
Example: |
List { Name = Clients; Title = "Select a Client"; /* This List, when a selection is made, * will set the value of the SelectedRole * gadget to the value of the selected * multi-value id. */ TitlePos = TOP; Name = ClientRolesSelect; ShowBrowser = NO; Show = ONE; Changed = AEFClearGadget&/.../SelectedRole(), AEFAppendValueFromSelectedMultiValue&/.../SelectedRole ("/.../my_roles_", "/.../ClientRolesSelect"); } |