property Schedule.SelEvent (Index as Long) as Event
Gets the event being selected giving its index in the selection.

TypeDescription
Index as Long A Long expression that defines the index of the Event to be requested
Event The Event being requested, if the index is between 0 and SelCount - 1, or empty/nothing/NULL
The SelCount/SelEvent property may be used to retrieve the selected events one by one (The Selected property indicates whether the event is selected or unselected). We recommend using the Selection property and the for each statement to enumerate the events in the control. The /NET and /WPF versions of the component provide the SelEvents function that retrieves a collection of Event objects, as List<Event>. The EventFromPoint property gets the event from the cursor. The Selectable property of the Event indicates whether the event can be selected at runtime.

You can use the AllowSelectEvent property to change the key to allow the user select new events or you can prevent selecting any event using exDisallow value. Once the user starts selecting a new event in the schedule panel, the control fires the LayoutStartChanging(exScheduleSelectionChange). Once a new event is selected, the LayoutEndChanging(exScheduleSelectionChange) event occurs.