Table of Contents

TTMSFNCCustomGanttChart.SelectPreviousTask Method

Selects the previous task relative to the current selection.

API unit family: TMSFNCGanttChart Declaring type: TTMSFNCCustomGanttChart

Syntax

function SelectPreviousTask(ASameParent: Boolean = False): TTMSFNCGanttTask;

Parameters

Name Description
ASameParent When True, navigation stays within the selected task's parent task.

Returns

The newly selected task, or nil when no matching task is available.