PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..EndVisibleRange is used to:
  • finding out the last visible date or time:
    • in a Scheduler control.
    • WINDEV in a TimeLine control.
  • WINDEV modify the last visible time in a TimeLine control.
Versions 21 and later
Android This property is now available for the Scheduler controls in the Android applications.
New in version 21
Android This property is now available for the Scheduler controls in the Android applications.
Android This property is now available for the Scheduler controls in the Android applications.
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 from 0 sec
TL_TimeLine..EndVisibleRange = 30 // size at 30 sec
Syntax

Finding out the last visible date or time Hide the details

<Result> = <Control Name>..EndVisibleRange
<Result>: Integer or character string in Date/Time format
Last visible value 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 Name>: Character string (with or without quotes)
Name of control to use. This control can correspond to:
  • a Scheduler control.
  • WINDEV a TimeLine control.
WINDEV

Modifying the value of the last visible time in a TimeLine control Hide the details

<Control Name>..EndVisibleRange = <New value>
<Control Name>: Character string (with or without quotes)
Name of TimeLine control to use.
<New value>: Integer
Last visible value in the control.
Remarks
  • All the events represented by the control are included 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 included between ..StartVisibleRange and ..EndVisibleRange. This corresponds to the size of the scrollbar box or range slider associated with the control.
  • This property allows you to modify the last visible time only in a TimeLine control.
  • Android ..EndTotalRange and ..EndVisibleRange are equivalent. They are used to find out the last visible value in the control.
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment