class PtCalendarSelectCallback { date; // PtCalendarDate time; // long type; // integer }
This class holds information from the Pt_CB_CALENDAR_SELECT callback, which is generated when a calendar date, weekday, month increment/decrement button or year increment/decrement button is selected in a PtCalendar.
Also see Pt_CB_CALENDAR_SELECT in the PtCalendar section of the Photon documentation.
A PtCalendarDate that contains the day, month, and year.
The system time associated with the date.
The type of selection made, which can be exactly one of the following:
Constant | Description |
---|---|
Pt_CALENDAR_DATE_SELECTED | A date was selected. Numerical value = 1. |
Pt_CALENDAR_WDAY_SELECTED | A day of the week was selected. Numerical value = 2. |
Pt_CALENDAR_MONTH_SELECTED | One of the month increment/decrement buttons was selected. Numerical value = 3. |
Pt_CALENDAR_YEAR_SELECTED | One of the year increment/decrement buttons was selected. Numerical value = 4. |
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.