Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calendar Control 8.0 - How do you return value?
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00620367
Message ID:
00620381
Views:
12
>Ok, maybe I'm just being plain obtuse here, but I don't seem to be able to figure out how to do anything useful with the activeX calendar control. What I WANT to do is interlock the values of a date field with the calendar control so that if you click on a date in the calendar control, the date in th text box will change to correspond to the clicked date. Conversely, when I mantually enter a date in the text box control, I want the activeX calendar control to reflect the date entered. How the heck to I do this, please?
>
>TIA
>
>Richard Bates



Richard,

In the refresh of the textbox put;
This.Value = Thisform.Olecontrol.Object.Value
In the Click of the OLEControl put;
Thisform.Refresh()
Also make the ControlSource of the Textbox "Thisform.OLEControl.Object.Value"

That should get you working in the right direction
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform