ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / TimeLine functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
// Deletes the selected event from the TimeLine control
TL_TimeLine.DeleteEvent()
 
// Deletes the first added event
TL_TimeLine.DeleteEvent(1)
Syntax

Deleting an event identified by its index Hide the details

<TimeLine control>.TimelineDeleteEvent([<Event subscript>])
<TimeLine control>: Control name
Name of the TimeLine control to be used.
<Event subscript>: Optional integer
Index 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
Index 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.
<Event>: EventTimeline variable
Name of the TimeLine control to be used.

Deleting a set of events Hide the details

TimelineDeleteEvent(<TimeLine control> , <Array of events>)
<TimeLine control>: Control name
Name of the EventTimeline variable that describes the characteristics of the event to delete.
<Array of events>: Array of EventTimeline variables
Name of the TimeLine control to be used.
Component: wd290mdl.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help