ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Gantt Chart functions
  • Example for the GanttListTask function
GanttListTask (Example)
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
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help