Hallo!
I have just began with using the infragistics schedule components.
I haven't found a way to assign an own appointment dialog to the ultradayview.
If I make a double click somewhere in the ultradayview, I want to have my form frmAppDlg instead of the standard dialog.
How can I do that?
Thanks
Best regards
Marco
Some things are so easy
Thank you
You set the Cancel property of the event arguments to true.
Thank you, I found it. But: How can I cancel the event?
Actual, my code is following:
Private Sub UltraCalendarInfo1_BeforeDisplayAppointmentDialog(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinSchedule.DisplayAppointmentDialogEventArgs) Handles UltraCalendarInfo1.BeforeDisplayAppointmentDialog MsgBox("Test") End Sub
Can you tell me what I have to add?
Thanks and best regards
Handle the UltraDayView.CalendarInfo.BeforeDisplayAppointmentDialog event, cancel it, and display your form therein.