Table of Contents

TTMSFNCCustomPlanner.ResourceToPosition Method

Converts a resource index to a visible planner position.

API unit family: TMSFNCPlanner Declaring type: TTMSFNCCustomPlanner

Syntax

function ResourceToPosition(AResource: Integer): Integer; virtual;

Parameters

Name Description
AResource Resource index to locate.

Returns

The visible position for the resource, or -1 when it is not visible.