ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The AutomaticReorganization property gets and sets the automatic reorganization mode for the tasks in a "Gantt Chart" column.
Example
IF INT_DéplacementLibre THEN
	COL_Gantt.RéorganisationAutomatique = False 
ELSE
	COL_Gantt.RéorganisationAutomatique = True
END
Syntax

Finding out whether the automatic reorganization of the tasks is enabled Hide the details

<Result> = <Gantt column>AutomaticReorganization
<Result>: Boolean
  • True if the automatic reorganization of the tasks is enabled.
  • False otherwise.
<Gantt column>: Column name
Name of the Gantt Chart column (in a Table or TreeView Table control) to be used.

Modifying the automatic reorganization of the tasks Hide the details

<Gantt column>AutomaticReorganization = <Automatic reorganization>
<Gantt column>: Column name
Name of the Gantt Chart column (in a Table or TreeView Table control) to be used.
<Automatic reorganization>: Boolean
  • True to enable the automatic reorganization of the tasks.
  • False to disable the automatic reorganization of the tasks.
Remarks
If automatic task reorganization is enabled, tasks are automatically moved to check their prerequisites.
This reorganization is carried out in the following cases:
  • if the user moves a task,
  • if the user resizes a task,
  • if the user adds a task in prerequisite to another task.
If automatic reorganization is not enabled, no moves are made: some tasks may therefore be located before their prerequisites.. You have the ability to call GanttOrganizeTask to start this reorganization programmatically.
Related Examples:
WD Gantt Complete examples (WINDEV): WD Gantt
[ + ] The "WD Gantt" example presents an advanced use of the Gantt Chart control.
This example is used to create a Gantt chart with tasks, links, cumulative tasks and milestones.
The tasks can be edited in a specific window.
The created chart can be saved in a file and reloaded thereafter.
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help