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
TimelineDeleteEvent(TL_TimeLine)
 
// Deletes the first added event
TimelineDeleteEvent(TL_TimeLine, 1)
Syntax

Deleting an event identified by its index Hide the details

TimelineDeleteEvent(<TimeLine control> [, <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
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
Component: wd290mdl.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/06/2023

Send a report | Local help