Home » U++ Library support » CalendarCtrl » Update to CalendarCtrl / TimeDateCtrl
Re: Update to CalendarCtrl / TimeDateCtrl [message #10215 is a reply to message #10137] |
Mon, 25 June 2007 14:20 |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
Ah yes, interesting. The window was being closed on the mouse-down event (change of focus) and reopened on the mouse up. Adding the IgnoreMouseClick() to Calendar::Deactivate fixes this (and correctly matches other normal DropList behaviour):
WhenPopDown();
IgnoreMouseClick();
Close();
Also: You might want to change the WhenPopDown callback, I'm not sure what I was thinking when I named that. WhenCancel/WhenSelect would be clearer and match PopUpTable better. I'll happily do this myself when I've got a more up-to-date source.
Let me know if there is anything else I can do.
James
[Updated on: Mon, 25 June 2007 14:26] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon May 27 08:32:59 CEST 2024
Total time taken to generate the page: 0.00965 seconds
|