This class uses the ActiveX calendar control that can be bound to a date field for a form or other container.
| Category | Date/Time |
|---|---|
|
Default Catalog |
VisualВ FoxProВ Catalog\FoundationВ Classes\Data/Time |
|
Class |
_olecalendar |
|
Base Class |
OLEcontrol |
|
Class Library |
_datetime.vcx |
|
Parent Class |
_olecontrol |
|
Sample |
...\Samples\Solution\Ffc\datacal.scx |
Remarks
To use, drop the class on a project or form or, from the Component Gallery Item shortcut menu, select Add to Form. When you add the class to a form, Visual FoxPro opens a builder so you can specify the appropriate Date_column value. When you drop the class on a project, you can choose between adding the class or creating a subclass.
| Properties, Events, Methods | Description |
|---|---|
|
Date_column property |
Specifies a date type field to which to link the calendar. Default: "" |
|
RefreshDisplay method |
Updates the calendar display with the value in the column specified in the Date_column property.
Syntax:
Return: none Arguments: none |
js editor
Web development