[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TDBCalendar - a data-aware version of TCalendar, for selecting a date to put in a database field
Source position: dbctrls.pp line 766
type TDBCalendar = class(TCalendar) |
||
|
||
procedure DataChange(); |
|
|
procedure UpdateData(); |
|
|
procedure FocusRequest(); |
|
|
function GetDataField; |
|
|
function GetDataSource; |
|
|
function GetField; |
|
|
function GetReadOnly; |
|
|
procedure SetReadOnly(); |
|
|
procedure SetDate(); |
|
|
procedure SetDataField(); |
|
|
procedure SetDataSource(); |
|
|
procedure UpdateDate(); |
||
procedure CMGetDataLink(); message; |
||
protected |
||
procedure Loaded; override; |
|
|
procedure Notification(); override; |
|
|
public |
||
constructor Create(); override; |
|
|
destructor Destroy; override; |
|
|
procedure EditingDone; override; |
|
|
property Field: TField; [r] |
|
|
published |
||
property BorderSpacing; |
||
property DataField: String; [rw] |
|
|
property DataSource: TDataSource; [rw] |
|
|
property Date; [ws] |
|
|
property ReadOnly: Boolean; [rw] |
|
|
property DisplaySettings; [s] |
|
|
property DragCursor; |
||
property DragMode; |
||
property Visible; |
|
|
property OnClick; |
|
|
property OnDragDrop; |
||
property OnDragOver; |
||
property OnEndDrag; |
||
property OnMouseMove; |
|
|
property OnMouseDown; |
|
|
property OnDayChanged; |
|
|
property OnMonthChanged; |
|
|
property OnStartDrag; |
||
property OnYearChanged; |
|
|
end; |
|
TDBCalendar - a data-aware version of TCalendar, for selecting a date to put in a database field |
|
| | ||
|
TCalendar - a graphic allowing the user to select a date which is returned as data to the calling routine |
|
| | ||
|
TCustomCalendar - base class for TCalendar, a graphic for selecting a date |
|
| | ||
TWinControl |
||
? | ||
TObject |
A pop-up calendar appears, and the user can navigate through years, months and days to select the date that is required. When a date is selected, it is inserted into the Date field of the appropriate record in the database.
|
HowToUseDataAwareControls - Hints for accessing databases |