Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
get date from day clicked on in ultramonthviewsingle
posted

I want to be able to populate the UltraCalendarCombo1 with the day a user clicks on in the ultraviewsingle... something like:

ultracalendarcombo1.value = ultraviewsingle.DayThatUserClickedOn

Can I do this?

Parents
  • 69832
    Offline posted

    The control exposes a 'GetDayFromPoint' method, which you can use to hit test for a given date. When the user clicks on a DayUIElement (assuming the control/shift keys are not pressed, in which case the selection is extended), the UltraMonthViewSingle.CalendarInfo.ActiveDay changes; it also changes when the end user navigates via the arrow keys (again assuming that no modifier keys are pressed. (The ActiveDay is depicted visually with a focus rectangle, in case you were not familiar with this WinSchedule concept.)

Reply Children
No Data