PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
Returns:
  • the list of events found between two given times in a TimeLine control,
  • all events of a TimeLine control,
  • a specific event (selected or hovered).
Example
// Liste tous les événements du champ TimeLine
tabEvt est un tableau de EvénementTimeline
tabEvt = TL_TimeLine.ListeEvénement()
 
// Ajoute les événements dans un champ Table
POUR TOUT gMonEvénement DE tabEvt
TABLE_Table1.AjouteLigne(gMonEvénement.Piste, ...
gMonEvénement.Début, gMonEvénement.Fin, gMonEvénement.Titre)
FIN
// Liste les événements à partir d'un moment
tabEvt est un tableau de EvénementTimeline
tabEvt = TL_Automates.ListeEvénement("Automate 1", 70)
 
POUR TOUT gMonEvénement DE tabEvt
Trace(gMonEvénement.Début, gMonEvénement.Fin, gMonEvénement.Titre)
FIN
Syntax

Retrieving the list of events between two times Hide the details

<Result> = <TimeLine control>.ListEvent([<Track> [, <Start> [, <End>]]])
<Result>: Array of EventTimeline variables
Array containing the EventTimeline variables.
If an event corresponding to the specified criteria is found, this array will contain a single element.
If no event corresponds to the specified criteria, this array will contain 0 event.
<TimeLine control>: Control name
Name of TimeLine control to use.
<Track>: Optional character string (with quotes)
Name of track to which the events are associated. If this parameter is not specified (or is an empty string), all events for all tracks will be returned.
<Start>: Optional integer
Start of event selection.
If this parameter is not specified, all the events found in the TimeLine control will be returned.
<End>: Optional integer
End of event selection.
If this parameter is not specified, all the events found from <Start> will be returned.

Retrieving information about a specific event Hide the details

<Result> = <TimeLine control>.ListEvent(<Event type>)
<Result>: Array of EventTimeline variables
Name of array containing the EventTimeline variables.
If an event corresponding to the specified criteria is found, this array will contain a single element.
If no event corresponds to the specified criteria, this array will contain 0 event.
<TimeLine control>: Control name
Name of TimeLine control to use.
<Event type>: Integer constant
Type of event sought:
schAptSelectedtlEveSelectedEvent currently selected in the TimeLine control. If no event is selected, <Result> will correspond to an array of 0 element.
schAptHoveredtlEveHoveredEvent hovered by the mouse in the TimeLine control. If no event is hovered, <Result> will correspond to an array of 0 element.
Component: wd270mdl.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment