|
|
|
|
|
- Example for the GanttListTask function
Example for the GanttListTask function The following example allows you to retrieve a task when it is hovered over, using the Mouse hover code (WM_MOUSEMOVE) on the Table control. arrList is array of GanttTask sMyColumn is string  // Retrieve the name of the hovered column sMyColumn = TableInfoXY(TABLE_Gantt, tiColName, MouseXPos(), MouseYPos()) IF {sMyColumn}..Type = typGantt THEN  // Retrieves the list of tasks arrList = GanttListTask(COL_Gantt, ganttHoveredTask) IF arrList.Occurrence = 1 THEN Trace("Hovered task: " + arrList[1].Title) END END
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|