Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calendar Control 8.0 - How do you return value?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00620367
Message ID:
00620381
Vues:
17
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform