ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The EndTotalRange property is used to:
  • find out the last date or time that can be displayed:
    • in a Scheduler control.
    • WINDEV in a TimeLine control.
  • WINDEV change the last time that can be displayed in a TimeLine control.
Example
WINDEV
// Champ TimeLine sur 2 minutes au total
TimelineChangeMode(TL_TimeLine, schModeSecond, 120)

// équivalent à :
TL_TimeLine.DébutEtendueTotale = 0  // commence à 0 sec
TL_TimeLine.FinEtendueTotale = 120 // fin à 120 sec 

// Rendre visible les 30 premières secondes 
TL_TimeLine.DébutEtendueVisible = 0 // commence à 0 sec
TL_TimeLine.FinEtendueVisible = 30 // taille à 30 sec
Syntax

Getting the last displayable date or time Hide the details

<Result> = <Control used>.EndTotalRange
<Result>: Integer or character string in Date/Time format
Last value displayed in the control. This value corresponds to:
  • an integer for:
    • WINDEV a TimeLine control,
    • a Scheduler control in second, millisecond or microsecond mode.
  • a date in YYYYMMDDHHSSCC format for a Scheduler control in day, week or month mode.
<Control used>: Control name
Name of the control to be used. This control can correspond to:
  • a Scheduler control.
  • WINDEV a TimeLine control.
WINDEV

Modifying the value of the last displayable time Hide the details

<TimeLine control>.EndTotalRange = <New value>
<TimeLine control>: Control name
Name of the TimeLine control to be used.
<New value>: Integer
Last value displayed in the control.
Remarks
  • All the events represented in the control are between StartTotalRange and EndTotalRange. This corresponds to the total range of the scrollbar or range slider associated with the control.
  • All the events visible in the control are between StartVisibleRange and EndVisibleRange. This corresponds to the size of the scroll bar cursor or range slider associated with the control.
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help