Deletes an event from a TimeLine control. If the TimeLine control is linked to a data source, the appointment is also deleted from the data source.
// Deletes the selected event from the TimeLine control
TimelineDeleteEvent(TL_TimeLine)
// Deletes the first added event
TimelineDeleteEvent(TL_TimeLine, 1)
Syntax
Deleting an event identified by its subscript Hide the details
TimelineDeleteEvent(<TimeLine control> [, <Event subscript>])
<TimeLine control>: Control name
Name of the TimeLine control to be used.
<Event subscript>: Optional integer
Subscript of event to delete. The subscript of first event is set to 1. If this parameter is not specified, the selected event will be deleted.
Deleting an event (EventTimeline variable) Hide the details
TimelineDeleteEvent(<TimeLine control> , <Event>)
<TimeLine control>: Control name
Name of the TimeLine control to be used.
<Event>: EventTimeline variable
Name of the EventTimeline variable that describes the characteristics of the event to delete.
Deleting a set of events Hide the details
TimelineDeleteEvent(<TimeLine control> , <Array of events>)
<TimeLine control>: Control name
Name of the TimeLine control to be used.
<Array of events>: Array of EventTimeline variables
Name of the array of EventTimeline variables that describe the events to delete.
Business / UI classification: UI Code