Callback: | AEFDefaultGadgetValueToDate |
Arguments: |
Gadget - Gadget whose value is to be modified strfrmt - string date format for strftime |
|
|
Description: | Given a gadget and a format string for strftime, set the gadget's value to the strftime result IF the gadget has NO value set. |
Example: |
Button { Name = SetGadgetValue; Title = "SetGadgetValue"; /* This button will set the value of * ValidFrom to the current date * if there is no value in the gadget. */ Commands = AEFDefaultGadgetValueToDate&/.../ValidFrom ("%m.%d.%Y"); } |