ActiveX Calendar

See Also

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\Vfp98\Solution\Ffc\datacal.scx

Remarks

This class uses the ActiveX calendar control that can be bound to a date field for a form or other container.

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.

See Guidelines for Using Visual FoxPro Foundation Classes for more information on using foundation classes.

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: RefreshDisplay( )
Return: none
Arguments: none