ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / TimeLine control
  • Overview
  • Settings
  • Configuring an automatic menu in a TimeLine control
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
Overview
By default, TimeLine controls contain a context menu.
This menu, available without programming, includes several actions:
  • Zoom in and out in the control.
  • Add, delete or modify an event when selecting a time period.
    Remarks: If the control is bound to a data source, the data deleted in the control is also deleted from the data source.
  • Copy the content of an event.
Remark: You can add options to this menu from the code. To do so, use the ContextMenu property.
Settings

Configuring an automatic menu in a TimeLine control

The context menu of the TimeLine control can be disabled. To show or hide the context menu of the TimeLine control:
  1. Open the TimeLine control description window.
  2. Select the "UI" tab.
  3. Choose the desired menu in the "Context menu" combo box. You can:
    • "Display the AAF menu (System)": In this case, the automatic menu of the Organizer control will be displayed. For more details on how to configure this menu, see Configuring the AAF menu.
    • "Add a context menu": If this option is checked, you can select the custom context menu to be displayed.
Remarks:
  • If both options are checked, the custom context menu can be added before or after the AAF menu.
  • If no option is selected, no context menu will be selected. The <Disabled> option will be displayed in the description window.
  • The ContextMenu property is also used to remove the AAF-specific context menu and restore the standard Windows menu for a given control.
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 03/21/2023

Send a report | Local help