ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
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 property StartVisibleExtent property allows you to:
  • know the first visible date or time:
    • in a Scheduler control.
    • WINDEV in a TimeLine control.
  • WINDEV change the first visible time in a TimeLine control.
Note: The first visible date or time corresponds to the position of the scrollbar in the.
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 first visible date or time Hide the details

<Result> = <Control used>.StartVisibleRange
<Result>: Integer or character string in Date/Time format
First visible value in the control. This value corresponds to:
  • 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 field can correspond to:
  • a Scheduler control.
  • WINDEV a TimeLine control.
WINDEV

Changing the value of the first visible time Hide the details

<TimeLine control>.StartVisibleRange = <New value>
<TimeLine control>: Control name
Name of the TimeLine control to be used.
<New value>: Integer
First value to be displayed in the TimeLine 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: 05/10/2025

Send a report | Local help