Ticket CQ34636
Visible to All Users

Show messageBox when user double clicks on the Appointment

created 18 years ago

Hi,
I want to show appointment information when user clicks on the perticular appointmnet in MessageBox. I tried the Double Click event but still not able to produce the required result. In my application user does not have any ability to create, edit or delete an appointemnt. He can only read that and if he wants to know more abt it he can doubel click it. I was able to show the information via Tooltips. How do i get the information in Double click event that this appointment is clicked and its info

Comments (1)
DevExpress Support Team 18 years ago

    Hi Ronak,
    Please try to use the following approach:

    1. Call the SchedulerControl's ActiveView.ViewInfo.CalcHitInfo method to obtain the clicked element;
    2. Use the SchedulerStorage's GetAppointments method to retrieve appointments by the clicked time interval.
      Attached is a small sample project, which demonstrates this approach in action. Please review it and let us know how this solution works for you.
      Thanks,
      Vito

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.