ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Gantt Chart functions
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
Modifies the period (which means the number of days) displayed in a Gantt Chart column found in a Table (or TreeView Table) control.
Example
// Click on BTN_Week
GanttChangeMode(COL_Gantt, ganttModeInDay)
Syntax
GanttChangeMode(<Gantt column> , <Display mode> [, <Number of days>])
<Gantt column>: Control name
Name of the Gantt Chart column (in a Table or TreeView Table control) to be used.
<Display mode>: Integer constant
Time range that must be displayed in the Gantt Chart column:
ganttModeAccordingToTaskDisplays the Gantt chart from the first task to the last one.
ganttModeInDayDisplays the Gantt chart according to the width of the column. In this case, you must specify the number of days to display.
<Number of days>: Optional integer
Number of days displayed. This parameter is taken into account only if <Display Mode> corresponds to the ganttModeInDay constant. Otherwise, a WLanguage error occurs.
Component: wd290mdl.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/19/2023

Send a report | Local help