|
| [WD21] Gantt Chart - Milestone |
| Iniciado por guest, 30,ago. 2017 18:38 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 30,agosto 2017 - 18:38 |
Hi,
I try to create a table with a gantt chart column. The first row should have a milestone. The line is added, but I can´t see the blue diamond.
TableAddLine(TABLE_NoName1,"Start")
myGantt is GanttTask
myGantt.StartDate=Today() myGantt.Row=1 myGantt.Milestone=True myGantt.ID="1"
GanttAddTask(COL_Gantt,myGantt)
Something is wrong, but what ?
I tried tableaddline(TABLE_Noname1,"Start",mygantt). Same result. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 31,agosto 2017 - 10:32 |
Mybe the colour needs be set ?
something like This:
NewTask is a GanttTask stATask is STGanttChartInfo
// Defines the task NewTask..Progress = 0 NewTask..ProgressColor = (bMilestone ? COLOR_MILESTONE ELSE COLOR_PROGRESS) NewTask..BrushColor = (bMilestone ? COLOR_MILESTONE ELSE COLOR_BACKGROUND)
regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 31,agosto 2017 - 10:42 |
Hi Allard,
no, I tried this also.
The only way to get it into work was to copy the table from the wd gantt example into my project. The code is still the same and after this it works. Maybe this is a bug. Maybe there is an Image ("diamond") which is not part of my project or style.
regards Michael |
| |
| |
| | | |
|
| | | | |
| | |
|