Skip to main content
Table of Contents

TTMSFNCCustomCalendar.XYToDate Method

Returns the date at the specified calendar coordinates.

API unit family: TMSFNCCalendar Declaring type: TTMSFNCCustomCalendar

Syntax

FMX.TMSFNCCalendar.hppPascalC++
function XYToDate(AX, AY: Single): TDate;
System::TDate __fastcall XYToDate(float AX, float AY);

Parameters

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

Returns

The date at the specified coordinates.