PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Creating a browsing TimeLine control
  • Creating a Timeline on source control
  • Handling a browsing TimeLine control or a TimeLine control on Source
  • Browsing TimeLine control
  • TimeLine control on source
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
Overview
You have the ability to create TimeLine controls linked to data. You can create:
  • a browsing TimeLine control: the TimeLine control will be linked to a data file or to a query. In this case, the data file contains the characteristics of the events.
  • a TimeLine control on source: the TimeLine control will be linked to a variable (a class instance in most cases). In this case, the class lists the events and their characteristics.
The programming of the TimeLine controls is simplified.
How to proceed?

Creating a browsing TimeLine control

To create a browsing Timeline control:
  1. Display the description window of control ("Description" from the popup menu).
  2. In the "Content" tab, select "File/Query" and select the data source used. This data source can be:
    • a data file defined in the analysis,
    • a query of the project,
    • a query included in the window.
  3. Associate the different items of the data source with the characteristics of the event. The elements preceded by a star are mandatory.
    Note: If the associated data file does not directly contain the corresponding item, you have the ability to perform a multi-file link.
  4. Validate the description window of the TimeLine control. The TimeLine control is a browsing timeline.

Creating a Timeline on source control

To create a Timeline on source control:
  1. Display the description window of control ("Description" from the popup menu).
  2. In the "Content" tab, select "By variable" and select the data source used (class, ...).
  3. Associate the different elements (members of the class for example) of the data source with the characteristics of the event. The elements preceded by a star are mandatory.
  4. Validate the description window of the TimeLine control. The TimeLine control is a timeline on source.
Handling a browsing TimeLine control or a TimeLine control on Source

Browsing TimeLine control

A browsing TimeLine control can be easily handled:
  • If the user handles the timeline via the popup menu of the control, the additions, deletions and modifications made to the events will be automatically applied to the data file linked to the control.
  • If the user handles the events via a specific window, all you have to do is modify the data file linked to the timeline. The displayed data will be automatically refreshed. You also have the ability to use TimelineDisplay to update the data displayed in the control.
Note: If the control is linked to a data source, the deletion performed in the control is performed at the same time in the linked data source.

TimeLine control on source

A TimeLine control on source can be easily handled:
  • If the user handles the timeline via the popup menu of the control, the additions, deletions and modifications made to the events will be automatically applied to the data source of the control.
  • If the user handles the events via a specific window, all you have to do is modify the elements linked to the timeline (class members for example). The displayed data will be automatically refreshed. You also have the ability to use TimelineDisplay to update the data displayed in the control.
Note: If the control is linked to a data source, the deletion performed in the control is performed at the same time in the linked data source.
Minimum required version
  • Version 18
Comments
Click [Add] to post a comment