Table of Contents

TTMSFNCDigitalTimeSelector Class

Grid-based time selector that shows pageable time slots between a start and end time.

API unit family: TMSFNCDigitalTimeSelector Inherits from: TTMSFNCCustomDigitalTimeSelector

Syntax

TTMSFNCDigitalTimeSelector = class(TTMSFNCCustomDigitalTimeSelector)

Properties

Name Description
EndTime The latest time displayed in the selector grid. (inherited from TTMSFNCCustomDigitalTimeSelector)
HeaderSize Height in pixels of the navigation header area above the time grid. (inherited from TTMSFNCCustomDigitalTimeSelector)
IntervalUnit Unit of time applied to each interval step between grid slots. (inherited from TTMSFNCCustomDigitalTimeSelector)
Items The collection of time slot items displayed in the selector grid. (inherited from TTMSFNCCustomDigitalTimeSelector)
SelectedTime The currently selected time value. (inherited from TTMSFNCCustomDigitalTimeSelector)
StartTime The earliest time displayed in the selector grid. (inherited from TTMSFNCCustomDigitalTimeSelector)
TimeFormat Format string controlling how each time slot is displayed in the grid. (inherited from TTMSFNCCustomDigitalTimeSelector)
TimeInterval Number of interval units between consecutive time slots in the grid. (inherited from TTMSFNCCustomDigitalTimeSelector)

Methods

Name Description
FindItemByTime Returns the item index corresponding to the given time value, or -1 if not found. (inherited from TTMSFNCCustomDigitalTimeSelector)
FindTimeByItem Returns the time value associated with the item at the given index. (inherited from TTMSFNCCustomDigitalTimeSelector)
InitSample Populates the selector with sample time values for design-time preview. (inherited from TTMSFNCCustomDigitalTimeSelector)
InitializePage Initializes the visible page so that the specified time is shown. (inherited from TTMSFNCCustomDigitalTimeSelector)
NavigateBack Navigates to the previous page of time slots. (inherited from TTMSFNCCustomDigitalTimeSelector)
NavigateForth Navigates to the next page of time slots. (inherited from TTMSFNCCustomDigitalTimeSelector)

Events

Name Description
OnAfterDrawArrow Fires after a navigation arrow has been drawn. (inherited from TTMSFNCCustomDigitalTimeSelector)
OnAfterDrawHeader Fires after the header area has been drawn. (inherited from TTMSFNCCustomDigitalTimeSelector)
OnAfterDrawHeaderText Fires after the header text has been drawn. (inherited from TTMSFNCCustomDigitalTimeSelector)
OnBeforeDrawArrow Fires before a navigation arrow is drawn, allowing custom rendering or suppression. (inherited from TTMSFNCCustomDigitalTimeSelector)
OnBeforeDrawHeader Fires before the header area is drawn, allowing custom rendering or suppression. (inherited from TTMSFNCCustomDigitalTimeSelector)
OnBeforeDrawHeaderText Fires before the header text is drawn, allowing custom rendering or suppression. (inherited from TTMSFNCCustomDigitalTimeSelector)
OnNavigation Fires when the user navigates to a previous or next page of time slots. (inherited from TTMSFNCCustomDigitalTimeSelector)
OnTimeDeselected Fires when the user deselects a time slot. (inherited from TTMSFNCCustomDigitalTimeSelector)
OnTimeSelected Fires when the user selects a time slot. (inherited from TTMSFNCCustomDigitalTimeSelector)

Used by