PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Example for the GanttListTask function
GanttListTask (Example)
Example for the GanttListTask function
The following example is used to retrieve a task during its rollover, from the mouse Rollover code (WM_MOUSEMODE) on the table.
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