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
990
Possible to use the calendar of the CalendarCombo as DropDownControl
posted

Hello,

i know my request is a little bit curious but we have derived a UltraTextEditor. And on some texteditors we want to drop down a calendarselector like the calendarcombo. Is this dropdown-selector an own control which i can set as the dropdownbutton.control?

Best regards,

Björn

Parents
  • 69832
    Verified Answer
    Offline posted

    Indeed you can...add a DropDownEditorButton to the UltraTextEditor's ButtonsRight collection. Set the Control property of that DropDownEditorButton to an UltraMonthViewMulti control (this is the same control that is used in UltraCalendarCombo's dropdown).

    Typically you also want to handle the DropDownEditorButton's BeforeDropDown and AfterCloseUp events to get the value to and from the edit portion of the UltraTextEditor. The value in this case can be (for example) UltraMonthViewMulti.CalendarInfo.ActiveDay.Date.

Reply Children
No Data