PtCalendarSelectCallback

Gamma/Photon: Using Gamma™ with the Photon microGUIŽ, Version 4.0
Prev |  | Next

# `PtCalendarSelectCallback`

`PtCalendarSelectCallback` -- calendar selection callback information.

## Synopsis

    class PtCalendarSelectCallback
    {
        date;    // PtCalendarDate
        time;    // long
        type;    // integer
    }

## Description

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.

## Instance Variables

date

  A `PtCalendarDate` that contains the day, month, and year.

time

  The system time associated with the `date`.

type

  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.

## Associated Classes

`PtCalendar`, `PtCallbackInfo`

Prev | Home | Next
`PtBasicCallback` | Up | `PtCallbackInfo`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.