How do I set the date on a DATEGADGET() after its being created? The help states the below:
SetGadgetState(): Set the currently displayed date.
But offers no example and I get an error if I try to sublist a string "13/10/22" for example, stating it needs a number.
Code: Select all
r.s = ReadString(0)
SetGadgetState(Dated, r.s)
I have obviously missed something here. If I use SetGadgetText() the popup calendar no longer works, I think this is used for date format mask only.