Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem using activate window calendar (VFP3)

Status
Not open for further replies.

sumpun

MIS
Feb 20, 2002
21
HK
I am using

activate window calendar

to implement a date picker function.

What i have is a text box field and command button

In the click method I have the following code :

ACTIVATE WINDOW calendar
THISFORM.date.value = _DIARYDATE
THISFORM.Refresh

However, it always returns me the wrong date or a date value that I selected from previous clicks of the button.

Is there any way I can obtain the date I selected ????

I need to do this using VFP3 for the time being, then change to VFP7 later. Are there better solutions for VFP7 ??

 
sumpun

I am not able to duplicate your problem. Although I only tried in VFP6.0 and VFP7.0.
There are Activex controls for date selecting, and it seems to me they were available for VFP3.0 also. There is a calendar control Activex and Month View control.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top