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
50
45 minute offset when using UltraDayView.GetTimeSlotFromPoint
posted

Hi,
I'm writing some dragdrop implementation using the UltraExplorerBar and a UltraDayView.

When I'm dropping on the UltraDayView on the (graphical-) timeslot (e.g.) 8:00am - 8:14am, the GetTimeSlotFromPoint(e.X, e.Y) returns startTime 08:45am and endTime 08:59am

If there is already an appointment e.g. from 8:45am to 9:30am, GetAppointmentFromPoint doesn't return nothing (as there was no appointment from 8:00am to 08:14am) it returns the appointment from 8:45am to 9:30am.

What's going wrong here?

Thanks in advance,
Marco

Parents
  • 69832
    Suggested Answer
    Offline posted

    The first thing that comes to mind is that the point you are sending to the method is not expressed as relative to the control's coordinate system, i.e, the event you are handling is one fired by the form or some other control.

Reply Children
No Data