PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
The Property RegletteVisible allows you to:
  • Find out whether a ruler is visible in a TimeLine control.
  • Make a ruler visible or invisible in a TimeLine control.
Reminder: The ruler of a TimeLine control corresponds to a "bold" vertical line used to view a specific moment in the control. The style of the ruler is defined in the "Style" tab of the TimeLine control ("Selected time" element).
Example
// Positions the ruler at 5 seconds
TL_TimeLine.visibleTimeLine = True
TL_TimeLine ValueController = 5
Syntax

Finding out whether a ruler is visible Hide the details

<Result> = <Control used>.RulerVisible
<Result>: Boolean
  • True if the ruler is visible in the control,
  • False otherwise.
<Control used>: Control name
Name of TimeLine control used.

Making a ruler visible or invisible Hide the details

<Control used>.RulerVisible = <Visible/Invisible>
<Control used>: Control name
Name of TimeLine control used.
<Visible/Invisible>: Boolean
  • True if the ruler must be visible,
  • False otherwise.
Remarks
  • The ruler can be modified by the user:
    • if the option "Modifiable pager" is checked in the description window of the TimeLine control.
    • if the Property RulerModifiable is to True.
  • The ruler is visible to the user:
    • if the option "Pager visible" is checked in the description window of the TimeLine control.
    • if the Property RulerVisible is to True.
  • The default position of the ruler corresponds to StartTotalRange.
  • The end user can modify the value of the ruler by moving the line with the mouse. This action triggers the "Modification" event of the TimeLine control.
  • The new position of the ruler is returned by RulerValue.
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment