TTMSFNCGanttProject.OnCustomTaskCompare Event
Occurs when task sorting needs a custom comparison result.
API unit family: TMSFNCGanttClasses
Declaring type: TTMSFNCGanttProject
Syntax
OnCustomTaskCompare: TTMSFNCGanttProjectCustomTaskCompareEvent;
Parameters
| Name | Description |
|---|---|
Sender |
Project raising the event. |
ATask1 |
First task being compared. |
ATask2 |
Second task being compared. |
AProperty |
Task property requested for sorting. |
ACompareResult |
Comparison result to use. |