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 RulerVisible property is used to:
  • Determine if a playhead is visible in a TimeLine control.
  • Show or hide a playhead in a TimeLine control.
Reminder: The playhead of a TimeLine control is a bold vertical line that represents a specific point in the control. The style of the playhead can be defined in the "Style" tab of the TimeLine control ("Selected time").
Example
// Set the playhead to 5 seconds
TL_TimeLine.RulerVisible = True
TL_TimeLine.RulerValue = 5
Syntax

Determining if a playhead is visible Hide the details

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

Showing or hiding a playhead Hide the details

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

Last update: 11/03/2022

Send a report | Local help