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
AutomaticReorganization (Property)
In french: RéorganisationAutomatique
The AutomaticReorganization property is used to get and change the automatic reorganization mode for the tasks in a "Gantt Chart" column.
Example
IF CBOX_FreeMove THEN
COL_Gantt.AutomaticReorganization = False
ELSE
COL_Gantt.AutomaticReorganization = 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 the automatic reorganization of the tasks is enabled, the tasks are automatically moved so that they check their prerequisites.
This reorganization is performed in the following cases:
  • if the user moves a task,
  • if the user resizes a task,
  • if the user adds a task as prerequisite for another task.
If the automatic reorganization is not enabled, no move is performed: some tasks can therefore be placed before their prerequisites. You have the ability to call GanttOrganizeTask to start this reorganization through programming.
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: 06/22/2023

Send a report | Local help