PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
The Reorganizationautomatic property makes it possible to know and modify the automatic reorganization mode of the tasks in a column of type "Gantt chart"..
Example
IF CBOX_FreeMove THEN
COL_Gantt.ReorganisationAutomatic = False
ELSE
COL_Gantt.ReorganisationAutomatic = 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 (found in a Table or TreeView Table control) to use.

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 (found in a Table or TreeView Table control) to use.
<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 by 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