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
1320
UltraDayView Appointment Instant Drag
posted

Hello.  I am having difficulty trying to resolve the cause of an annoying behaviour of the UltraDayView control, that may or may not be of my own making.

I wish that when a user clicks on an appointment that a drag operation will commence immediately so long as the mouse button remains depressed.  This appears to be the default behaviour as the 10.3 AppointmentsVB sample program behaves this way.  In my application, however, the user must select the appointment with a click first and then once it has focus the user can then click for a second time and drag it immediately.

In my testing I have deleted all event handlers for both the UltraDayView and its associated UltraCalendarInfo to no effect.  Does anyone have an ideas on what might be causing this problem?

Thanks.

Parents
No Data
Reply
  • 1320
    Verified Answer
    Offline posted

    As fate would have it, I discovered the solution within minutes of creating this post.

    The SelectTypeActivity property is the source of the behaviour mentioned above:

    With Me.UltraCalendarInfo1
      .SelectTypeActivity = SelectType.Extended ' Causes the problem.
      .SelectTypeActivity = SelectType.ExtendedAutoDrag ' Fixes the problem.
    End With

Children
No Data