Question:
I am running Xojo 2025r1.1 and have put a graphic version of the dateTimePicker in a window, so I can adjust the Date And Time graphically.
When I change the time, on the clock, as soon as I make any change, the event fires only showing the CURRENT date time. I am not being allowed to move the time to where I want, and then lock it in.
Any ideas?
Regards.
Sascha_S
(Sascha S)
May 22, 2025, 11:18am
2
Which event exactly are you capturing? It should be the DateChanged event, correct?
I can currently only test it on Windows 10, but it’s working just fine here.
Hi Sascha.
I ‘think’ i found my problem.
Instead of using the DateChanged event, I put it in a button.
Now I can move the hands on the clock, and when I push the button on the set alarm time, it shows the right information.
Could you share your code in the DateEvent?
Just so I can compare.
Regards
Sascha_S
(Sascha S)
May 23, 2025, 5:50am
4
There’s nothing special to it. Just use the Me.SelectedDate
Property es needed.
Like this: MessageBox Me.SelectedDate.ToString