Callback: | AEFAppendGadgetValueAsStringToken |
Arguments: |
Gadget - Gadget whose value is to be modified srcGadgetPath - path to source gadget delimiters - a string containing a delimiter |
|
|
Description: | For single-valued destination gadgets, sets value of the destination gadget to the value of the specified source gadget (tokenized by delimiter). For List destination gadgets, deletes existing List entries and then inserts the value of the specified source gadget (tokenized by delimiter). Only the first token found is used. |
Example: |
Button { Name = SetGadgetValue; Title = "SetGadgetValue"; /* This button will set the FinalValue gadget * with the value stored in the InputValue gadget * with the format string:date. Specifically * "string" will be used. */ Commands = AEFAppendGadgetValueAsStringToken&/.../FinalValue ("/.../InputValue",":"); } |
NOTE: | If the sourceGadget is a List, the value of the sourceGadget will be a comma-delimited string composed of all List values. To access a particular token in the string see AEFAppendGadgetValueAsStringTokenNum. |