Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Downloads
Search: 

Date and DateTime picker
Dorin Vasilescu, ALL Trans Romania
The class has the look of the standard themed VFP Combobox. It is not based on Container or Control class but textbox. It is easy to bind directly to fields, memory variables or object property.
Created on
19 years ago
Downloads
5347
File type
Freeware
Rating
5.00/5.00
General information
Rating:
5.00/5.00 (2 rates) Rate this item
Description
The class is based on the textbox part of DatePickX and DateTimePickX classes downloaded from UT. I've modified classes to show a standard combobox button in the right and the MonthView ActiveX control for date selection. If used in grids, the button is not used, but standard keys Ctrl+Down Arrow or F4 are available to show the calendar.
Created by
Dorin Vasilescu, ALL Trans Romania

Comments
Simple and free John Stephen, October 4, 2004

It's good Ricardo Passians, October 4, 2004

I like very much your class, but I noticed some thing, in some form I use your datepicker class. If the date textbox has a NULL value and I try to open the calendar by clicking on the down arrow button. It shows me an error: 'Invalid value' or something like that. Can you fix the class so that it handles null values and empty dates correctly? On the other hand, keep on with the good work! Luis Luis Guerra, November 19, 2004

If the ControlSource is set to read only in the form Refresh, I can still change the date value. I also tried disabling the control without success. I also set the custom property lupdowndisable without any luck. This is a simple and easy to use control, but I can't use it if I'm unable to change the state of the control. UPDATE: I added a new property "lEnableButton" to dpk. If in the dropdown method, lEnableButton evaluates to .F., the calendar won't drop. This seems to fix my ReadOnly problem. Great calendar control! John Davis, November 22, 2004

Update: New methods Enable_Assign and ReadOnly_Assign were added. I hope this part to work now. Also fixed .NULL. state case. NullDisplay is now set to "(undefined)". Dorin Vasilescu, November 24, 2004

Enable_Assign and ReadOnly_Assign work great. Thanks! John Davis, November 29, 2004

Thank you for your contribution. However, the datepicker cannot work in Pageframe, which mainly cannot locate cbButton on init event... Aaron K. Y. Chu, January 7, 2005

I use it in Pageframe. If you have code in Init(), a Dodefault() is needed to run default code for button creation. Can you send me a sample, please? Dorin Vasilescu, January 7, 2005

Thank you very much! After I change from init to Load event for SET CLASSLIB... it works perfectly... Thanks again Aaron K. Y. Chu, January 14, 2005

Great code William Silupu, February 7, 2005

Thanks for a great class! I found that with .datetype=2 the up and down arrows were changing the wrong parameter. Chaim Hochman, May 27, 2005

I searched and searched before I found this link from an old thread by Dorin Vasilescu, pointing to this download. I found another I tried, vfpCalendar. I spent 2 days mucking with it, couldn't get it to stop closing my app when the calendar closed. This class works perfect and was very simple to use. Thank you, Thank you! Chuck Williams, December 28, 2007

If the date textbox has a NULL value and I try to open the calendar by clicking on the down arrow button. It shows me an error: 'Invalid value' or something like that. Can you fix the class so that it handles null values and empty dates correctly. solution to the above query. change the .value to {} from =date() and you are done. also adding the below code in the calender_form.init event will show the current date instead of some date in 2004 IF NOT EMPTY(.textboxRef.value) AND NOT ISNULL(.textboxRef.value) ELSE this.oleMonthView.Year = YEAR(DATE()) this.oleMonthView.month = MONTH(DATE()) this.oleMonthView.day = DAY(DATE()) ENDIF i don't know whether this post is open or not because the above query was posted somewhere in 2004 and its 2013, but i came across this library just couple of days back and this is what helped me a lot. thought i should post it for users who will or have used it. Deepak Bhanushali, February 25, 2013

Add a comment
More downloads created from this member
Dorin Vasilescu, ALL Trans Romania
Free VFP classes that can be used to generate PDFs, programatically or using PDFListener class (extremely fast output) . The wrapper class can be used as generic PDF tool and can be compiled as COM DLL. .
Created on
15 years ago
Downloads
3126
File type
Freeware
Rating
4.00/5.00
Dorin Vasilescu, ALL Trans Romania
The class is based on grid base class and can be used to replace usual textboxes below grids that contains totals. It has support for horizontal scrolling in sync with source grid (even with LockColumns set).Needs VFP9.
Created on
17 years ago
Downloads
4588
File type
Freeware
Rating
4.50/5.00
Dorin Vasilescu, ALL Trans Romania
Combobox that supports multiple selections of items. Supports column headers, and customizable tag all/tag none buttons. Good for small lists where a multiple selection is needed. .
Created on
17 years ago
Downloads
3641
File type
Freeware
Rating
3.33/5.00
Dorin Vasilescu, ALL Trans Romania
A toolbar class control written in VFP that mimics windows taskbar behavior. It monitors forms and add a button for every active form. Buttons provide single click form activation. Needs VFP9. This update needs _gdiplus class library .
Created on
18 years ago
Downloads
3600
File type
Freeware
Rating
5.00/5.00
Dorin Vasilescu, ALL Trans Romania
The combobox class is based on native VFP combobox class (not a container + command button), but the DropDown() event will activate a special always on top form with a grid on it to simulate combo drop down list, instead the VFP generated list. The .ColumnCount, .BoundColumn, .ColumnWidths propertie...
Created on
19 years ago
Downloads
6449
File type
Freeware
Rating
5.00/5.00
Dorin Vasilescu, ALL Trans Romania
A class that can be used to start several server tasks on Firebird/Interbase databases from VFP applications. Also users management is possible. Can be used directly in programs or compiled as a DLL and used as external object.
Created on
20 years ago
Downloads
1885
File type
Rating
5.00/5.00
Dorin Vasilescu, ALL Trans Romania
This toolbar class will allow quick acces to many formatting options for various objects, in design mode (form or class designer). No need to select Layout tab in properties window or scroll properties list to select and change desired format property, just click on toolbar button.
Created on
20 years ago
Downloads
2578
File type
Freeware
Rating
4.00/5.00
Dorin Vasilescu, ALL Trans Romania
Outlook style listbar control class, written entirely in Visual Foxpro. Using this class you can design Outlook like interface. Has support for groups, each with its own background color , buttons with large or small icons, support for selecting buttons with keyboard, etc. This updated version ha...
Created on
22 years ago
Downloads
9938
File type
Rating
4.79/5.00