Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calendar
Message
From
08/07/2003 13:07:26
 
 
To
08/07/2003 09:21:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00807875
Message ID:
00808095
Views:
14
Hi Nick.

Is it easy to paste a selected date from the Microsoft calendar into a date field.

Piece of cake < s >. My pop up calendar form is a modal for with OK and cancel buttons and a custom tRetVal property. Code like this in the OK button:
WITH Thisform
  .tRetVal = .oCalendar.Object.Value
  .Release()
ENDWITH
This code in the unload:
RETURN Thisform.tRetVal
So the calendar form can be called like this (say, for example from the bdlClick of a date text box):
DO FORM GetDate WITH lnTop, lnLeft, This.Value TO luValue
This.Value = luValue
Previous
Reply
Map
View

Click here to load this message in the networking platform