Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX Control
Message
 
To
18/04/2001 14:23:08
Ben Dekker
Dekker Soft & Hardware
Axel, Netherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00496876
Message ID:
00497031
Views:
13
>Hi,
>
>I want to try to use an activeX control
>the Microsoft MonthView Control 6.0
>
>Is it possible to get a date-value when i click on a day.
>And what is the code for this??
>
>
>Greetings,
>
>
>Ben

There is a dateclick event that returns a datetime. Open the dateclick event and below the lparameters statement you can assign a var/property. So for example on a form you would put code something like:

lparameters dateclicked
thisform.mydatetextbox.value = dateclicked

OR

thisform.mydatetextbox.value = ttod(dateclicked)

depending on what type you want.

HTH
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Reply
Map
View

Click here to load this message in the networking platform