[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'CalendarPopup' (#lcl)

TCalendarPopupForm

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a non-modal pop-up form used to select a date from a TCalendar control.

Declaration

Source position: calendarpopup.pas line 30

type TCalendarPopupForm = class(TForm)

  Calendar: TCalendar;

  

TCalendar control used to select a date on the form.

  procedure CalendarDblClick();

  

Performs actions needed when a double click mouse event occurs in the Calendar control.

  procedure CalendarKeyDown();

  

Implements the OnKeyDown event handler for the Calendar control.

  procedure FormClose();

  

Implements the OnClose event handler for the form.

  procedure FormCreate();

  

Implements the OnCreate event handler for the form.

  procedure FormDeactivate();

  

Implements the OnDeactivate event handler for the form.

end;

Inheritance

TCalendarPopupForm

  

Implements a non-modal pop-up form used to select a date from a TCalendar control.

|

TForm

  

Implements a form used in an LCL application.

|

TCustomForm

  

The base type for TForm classes.

|

TCustomDesignControl

  

Provides a designer surface for scaling and layout of its child controls.

|

TScrollingWinControl

  

Implements a windowed control with scroll bars.

|

TCustomControl

  

The base class for windowed controls which paint themselves.

|

TWinControl

  

Implements a windowed control which can contain other child controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components which have an associated widget.

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent,IFPObserved

|

TObject

Description

TCalendarPopupForm is a TForm descendant which implements a non-modal pop-up form used to select a date with a TCalendar control. It includes the OnReturnDate event handler to perform the actions needed when a date is selected using the Calendar control.

TCalendarPopupForm is used as the non-modal dialog executed when the Button for the TDateEdit control is clicked.

Use the ShowCalendarPopup routine to create, configure, and display a pop-up calendar form.

See also

ShowCalendarPopup

  

Creates, configures, and displays a TCalendarPopupForm instance.

TDateEdit

  

Implements a control with an edit box for a date value and an attached speed button to display a date selection (calendar) dialog.


Version 3.2 Generated 2024-02-25 Home