ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
The StartTotalRange property is used to:
  • get the first date or time that can be displayed:
    • in a Scheduler control.
    • WINDEV in a TimeLine control.
  • WINDEV change the first time that can be displayed in a TimeLine control.
Example
WINDEV
// TimeLine control on 2 minutes
TimelineChangeMode(TL_TimeLine, schModeSecond, 120)
 
// equivalent to:
TL_TimeLine.StartTotalRange = 0  // starts from 0 sec
TL_TimeLine.EndTotalRange = 120 // end at 120 sec
 
// Make the first 30 seconds visible
TL_TimeLine.StartVisibleRange = 0 // starts at 0 sec
TL_TimeLine.EndVisibleRange = 30 // size at 30 sec
Syntax

Getting the first date or time that can be displayed Hide the details

<Result> = <Control used>.StartTotalRange
<Result>: Integer or character string in Date/Time format
First 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

Changing the value of the first time that can be displayed Hide the details

<TimeLine control>.StartTotalRange = <New value>
<TimeLine control>: Control name
Name of the TimeLine control to be used.
<New value>: Integer
First value to be 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.
  • Android The StartTotalRange and StartVisibleRange properties are equivalent. They are used to get the first visible value in the control.
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/26/2024

Send a report | Local help