Table of Contents

TTMSFNCCustomCalendar.XYToDate Method

Returns the date at the specified calendar coordinates.

API unit family: TMSFNCCalendar Declaring type: TTMSFNCCustomCalendar

Syntax

function XYToDate(AX, AY: Single): TDate;

Parameters

Name Description
AX The horizontal coordinate in calendar pixels.
AY The vertical coordinate in calendar pixels.

Returns

The date at the specified coordinates.