Skip to main content
Table of Contents

TTMSFNCCustomAnalogTimeSelector Class

Base class for the analog time selector control; renders an analog clock face with configurable appearance, interactive hand dragging, auto-update mode, and comprehensive drawing events.

API unit family: TMSFNCAnalogTimeSelector Inherits from: TTMSFNCCustomControl Implements: ITMSFNCAppearanceGlobalFont

Syntax

GeneratedPascalC++
TTMSFNCCustomAnalogTimeSelector = class(TTMSFNCCustomControl, ITMSFNCAppearanceGlobalFont)
class PASCALIMPLEMENTATION TTMSFNCCustomAnalogTimeSelector : public TTMSFNCCustomControl, public ITMSFNCAppearanceGlobalFont

Methods

Name Description
Initialize Applies the active Style preset to all appearance properties.
XYToHour Returns the hour (0–11) corresponding to the given pixel coordinates on the clock face.
XYToMinute Returns the minute (0–59) corresponding to the given pixel coordinates on the clock face.