Table of Contents

TTMSFNCGanttChart Class

Visual chart control for creating, editing, filtering, and exporting project schedules.

API unit family: TMSFNCGanttChart Inherits from: TTMSFNCCustomGanttChart

Syntax

TTMSFNCGanttChart = class(TTMSFNCCustomGanttChart)

Properties

Name Description
Adapter Adapter used to synchronize chart tasks with an external data source. (inherited from TTMSFNCCustomGanttChart)
Appearance Visual appearance settings for task-list, timeline, splitter, and task items. (inherited from TTMSFNCCustomGanttChart)
BitmapContainer Bitmap container used to resolve image references displayed by the chart. (inherited from TTMSFNCCustomGanttChart)
Color Defines the chart background color. (inherited from TTMSFNCCustomGanttChart)
Filter Filter settings that control which tasks are visible. (inherited from TTMSFNCCustomGanttChart)
Interaction Interaction settings for selection, editing, dragging, resizing, and popup behavior. (inherited from TTMSFNCCustomGanttChart)
ItemPopupMenu Popup menu shown for individual task items. (inherited from TTMSFNCCustomGanttChart)
PopupMenu Popup menu shown for the chart surface. (inherited from TTMSFNCCustomGanttChart)
Project Project data model that supplies tasks, states, work time, and scheduling data. (inherited from TTMSFNCCustomGanttChart)
SelectedTask Currently selected task in the chart. (inherited from TTMSFNCCustomGanttChart)
TaskListOptions Task-list column, sizing, and display options. (inherited from TTMSFNCCustomGanttChart)
Tasks Collection of tasks displayed and edited by the chart. (inherited from TTMSFNCCustomGanttChart)
TimeLineOptions Timeline scale, grouping, and display options. (inherited from TTMSFNCCustomGanttChart)
Version Version string for the chart component. (inherited from TTMSFNCCustomGanttChart)

Methods

Name Description
BeginUpdate Starts a batched update and suspends repaint work until EndUpdate is called. (inherited from TTMSFNCCustomGanttChart)
Clear Removes all tasks from the chart. (inherited from TTMSFNCCustomGanttChart)
CollapseTask Collapses the specified task and hides its child tasks. (inherited from TTMSFNCCustomGanttChart)
DeleteTask Deletes the specified task from the project. (inherited from TTMSFNCCustomGanttChart)
DrawExportTaskList Draws the task-list portion of an exported view. (inherited from TTMSFNCCustomGanttChart)
DrawExportTimeLine Draws the timeline portion of an exported view. (inherited from TTMSFNCCustomGanttChart)
EndUpdate Ends a batched update and refreshes the chart when the update count reaches zero. (inherited from TTMSFNCCustomGanttChart)
ExpandTask Expands the specified task and optionally expands all child tasks. (inherited from TTMSFNCCustomGanttChart)
ExportView Exports the current view to the supplied graphics context. (inherited from TTMSFNCCustomGanttChart)
LoadTasksFromCSVData Loads tasks from a CSV file using the default text encoding. (inherited from TTMSFNCCustomGanttChart)
LoadTasksFromCSVStreamData Loads tasks from a CSV stream using the default text encoding. (inherited from TTMSFNCCustomGanttChart)
LoadTasksFromJSONFile Loads tasks from a JSON file. (inherited from TTMSFNCCustomGanttChart)
LoadTasksFromJSONStream Loads tasks from a JSON stream. (inherited from TTMSFNCCustomGanttChart)
SaveTasksToCSVData Saves tasks to a CSV file using the default text encoding. (inherited from TTMSFNCCustomGanttChart)
SaveTasksToCSVStreamData Saves tasks to a CSV stream using the default text encoding. (inherited from TTMSFNCCustomGanttChart)
SaveTasksToJSONFile Saves tasks to a JSON file. (inherited from TTMSFNCCustomGanttChart)
SaveTasksToJSONStream Saves tasks to a JSON stream. (inherited from TTMSFNCCustomGanttChart)
SelectNextTask Selects the next task relative to the current selection. (inherited from TTMSFNCCustomGanttChart)
SelectNextVisibleTask Selects the next visible task relative to the current selection. (inherited from TTMSFNCCustomGanttChart)
SelectPreviousTask Selects the previous task relative to the current selection. (inherited from TTMSFNCCustomGanttChart)
SelectPreviousVisibleTask Selects the previous visible task relative to the current selection. (inherited from TTMSFNCCustomGanttChart)
SelectTask Selects the specified task. (inherited from TTMSFNCCustomGanttChart)
SelectTaskByRow Selects the task displayed at the specified visible row. (inherited from TTMSFNCCustomGanttChart)
ShowTaskEditor Shows the task editor for the specified task. (inherited from TTMSFNCCustomGanttChart)
UpdateGanttChart Refreshes the complete chart layout and visual state. (inherited from TTMSFNCCustomGanttChart)
UpdateGanttList Refreshes the task-list area. (inherited from TTMSFNCCustomGanttChart)
ZoomTimeLine Changes the timeline zoom factor. (inherited from TTMSFNCCustomGanttChart)

Events

Name Description
OnAddGanttTaskListTask Occurs before a task is added to the task list. (inherited from TTMSFNCCustomGanttChart)
OnAfterAddGanttTaskListColumn Occurs after a task-list column is added. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttListColumnHeader Occurs after a task-list column header is drawn. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttListColumnHeaderText Occurs after task-list column header text is drawn. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTaskList Occurs after the task-list area is drawn. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLine Occurs after the timeline area is drawn. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineCell Occurs after a timeline background cell is drawn. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineDependency Occurs after a dependency line is drawn between tasks. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineDependencyArrow Occurs after a dependency arrow is drawn between tasks. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineEventMarker Occurs after a task event marker is drawn on the timeline. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineGroupTime Occurs after a grouped timeline time cell is drawn. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineGroupTimeText Occurs after text for a grouped timeline time cell is drawn. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineItem Occurs after a timeline task item is drawn. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineItemLeftGrip Occurs after the left sizing grip of a task item is drawn. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineItemProgress Occurs after a task progress bar is drawn on the timeline. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineItemRightGrip Occurs after the right sizing grip of a task item is drawn. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineItemText Occurs after a task label is drawn on the timeline. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineTime Occurs after a timeline time cell is drawn. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineTimeLine Occurs after the timeline ruler line is drawn. (inherited from TTMSFNCCustomGanttChart)
OnAfterDrawGanttTimeLineTimeText Occurs after text for a timeline time cell is drawn. (inherited from TTMSFNCCustomGanttChart)
OnAfterMoveTimeLineTask Occurs after a timeline task is moved to a new time range. (inherited from TTMSFNCCustomGanttChart)
OnAfterShowTaskPopup Occurs after a task popup menu is shown. (inherited from TTMSFNCCustomGanttChart)
OnAfterSizeTimeLineTask Occurs after a timeline task is resized to a new time range. (inherited from TTMSFNCCustomGanttChart)
OnBeforeAddGanttTaskListColumn Occurs before a task-list column is added. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttListColumnHeader Occurs before a task-list column header is drawn. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttListColumnHeaderText Occurs before task-list column header text is drawn. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttListNodeText Occurs before task text is drawn in the task list. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttTimeLineCell Occurs before a timeline background cell is drawn. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttTimeLineDependency Occurs before a dependency line is drawn between tasks. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttTimeLineDependencyArrow Occurs before a dependency arrow is drawn between tasks. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttTimeLineEventMarker Occurs before a task event marker is drawn on the timeline. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttTimeLineGroupTime Occurs before a grouped timeline time cell is drawn. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttTimeLineGroupTimeText Occurs before text for a grouped timeline time cell is drawn. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttTimeLineItem Occurs before a timeline task item is drawn. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttTimeLineItemLeftGrip Occurs before the left sizing grip of a task item is drawn. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttTimeLineItemProgress Occurs before a task progress bar is drawn on the timeline. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttTimeLineItemRightGrip Occurs before the right sizing grip of a task item is drawn. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttTimeLineItemText Occurs before a task label is drawn on the timeline. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttTimeLineTime Occurs before a timeline time cell is drawn. (inherited from TTMSFNCCustomGanttChart)
OnBeforeDrawGanttTimeLineTimeText Occurs before text for a timeline time cell is drawn. (inherited from TTMSFNCCustomGanttChart)
OnBeforeMoveTimeLineTask Occurs before a timeline task is moved to a new time range. (inherited from TTMSFNCCustomGanttChart)
OnBeforeOpenInplaceEditor Occurs before an inplace editor is opened for a task property. (inherited from TTMSFNCCustomGanttChart)
OnBeforeShowTaskPopup Occurs before a task popup menu is shown. (inherited from TTMSFNCCustomGanttChart)
OnBeforeSizeTimeLineTask Occurs before a timeline task is resized to a new time range. (inherited from TTMSFNCCustomGanttChart)
OnCloseInplaceEditor Occurs when an inplace editor is closing. (inherited from TTMSFNCCustomGanttChart)
OnDrawEndSizeIndicator Occurs when the end sizing indicator is about to be drawn. (inherited from TTMSFNCCustomGanttChart)
OnDrawStartSizeIndicator Occurs when the start sizing indicator is about to be drawn. (inherited from TTMSFNCCustomGanttChart)
OnGanttProjectChanged Occurs when the project data changes. (inherited from TTMSFNCCustomGanttChart)
OnGanttTaskAdded Occurs after a task is added to the project. (inherited from TTMSFNCCustomGanttChart)
OnGanttTaskChanged Occurs when a task's data changes. (inherited from TTMSFNCCustomGanttChart)
OnGanttTaskDelete Occurs before a task is deleted from the project. (inherited from TTMSFNCCustomGanttChart)
OnGanttTaskListTaskAnchorClick Occurs when an anchor in task-list text is clicked. (inherited from TTMSFNCCustomGanttChart)
OnGanttTaskListTaskClick Occurs when task text in the task list is clicked. (inherited from TTMSFNCCustomGanttChart)
OnGanttTaskSelected Occurs when the selected task changes. (inherited from TTMSFNCCustomGanttChart)
OnGanttTimeLineItemClicked Occurs when a task item on the timeline is clicked. (inherited from TTMSFNCCustomGanttChart)
OnGanttTimeLineItemDoubleClicked Occurs when a task item on the timeline is double-clicked. (inherited from TTMSFNCCustomGanttChart)
OnGetInplaceEditorClass Occurs when the inplace editor class for a task property is requested. (inherited from TTMSFNCCustomGanttChart)
OnGetInplaceEditorValue Occurs when the value from an inplace editor is requested. (inherited from TTMSFNCCustomGanttChart)
OnGetTaskHintText Occurs when hint text for a task is requested. (inherited from TTMSFNCCustomGanttChart)
OnSetGanttListTaskColumnText Occurs when task-list column text is requested or changed. (inherited from TTMSFNCCustomGanttChart)
OnStyleApplied Occurs after style values are applied. (inherited from TTMSFNCCustomGanttChart)
OnStyleReset Occurs after style values are reset. (inherited from TTMSFNCCustomGanttChart)
OnTaskEditorClose Occurs after the built-in task editor is closed. (inherited from TTMSFNCCustomGanttChart)
OnTaskEditorShow Occurs before the built-in task editor is shown. (inherited from TTMSFNCCustomGanttChart)

Used by