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
Modifies the period (which means the number of seconds, milliseconds, microseconds, ...) displayed by a TimeLine control.
Example
// Click on BTN_Seconds
// Displays 2 minutes
TL_TimeLine.ChangeMode(schModeSecond, 120)
 
TL_TimeLine.GranularityMovement = 5
TL_TimeLine.GranularityDuration = 1
Syntax
<TimeLine control>.ChangeMode(<Display mode> [, <Range>])
<TimeLine control>: Control name
Name of TimeLine control used.
<Display mode>: Integer constant
Time range that must be displayed in the TimeLine control:
schModeCustomNbDayDisplays the TimeLine control on the number of days specified in <Range>.
schModeDayDisplays the TimeLine control while taking the day as display resolution.
schModeMicrosecondDisplays the TimeLine control while taking the microsecond as display resolution.
schModeMillisecondDisplays the TimeLine control while taking the millisecond as display resolution.
schModeMonthDisplays the TimeLine control while taking the month as display resolution.
schModeSecondDisplays the TimeLine control while taking the second as display resolution.
schModeWeekDisplays the TimeLine control on a 5-day week or on a 7-day week. The number of days is specified in <Range>.
<Range>: Optional integer
Total range to display in the TimeLine control while taking the new unit into account.
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