TTMSFNCGanttTaskListColumns Class
Collection of columns displayed in the task list.
API unit family: TMSFNCGanttChart
Inherits from: TTMSFNCOwnedCollection
Syntax
TTMSFNCGanttTaskListColumns = class(TTMSFNCOwnedCollection)
Properties
| Name |
Description |
| Items |
Column at the specified zero-based index. |
| StretchAll |
Stretches all columns to fill available task-list width when True. |
| StretchColumn |
Index of the column that absorbs remaining width; -1 disables stretch-column sizing. |
Methods
| Name |
Description |
| Add |
Adds a new task-list column. |
| AddColumn |
Adds a configured task-list column. |
| BeginUpdate |
Starts a batch update for column changes. |
| EndUpdate |
Ends a batch update and notifies the owner if columns changed. |
| GetColumnByName |
Returns the first column with the specified name. |
| Insert |
Inserts a task-list column at the specified index. |
Events
| Name |
Description |
| OnChanged |
Occurs when the column collection changes. |