CalendarView.ConstructContextualMenu

From Jeremie Leroy - XOJO Controls Wiki
Revision as of 21:51, 3 May 2012 by RB WikiCreator (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Event
CalendarView.ConstructContextualMenu ( base As MenuItem, x As Integer, y As Integer, cEvent As CalendarEvent ) As Boolean


This event is called when it is appropriate to display a contextual menu for the control.

If you return True, the contextual menu is displayed. The parameters x and y are the mouse locations. If the event was fired because of a non-mouse event, then x and y are both set to -1. If the mouse is over a CalendarEvent when this event is fired, cEvent hovered CalendarEvent.