Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't get access to ActiveX control events or properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00414416
Message ID:
00414430
Vues:
22
>I am trying to use a Interdev calendar control in ASP to past the date selected to a vfp dll. I am using vbscript on the server and jscript on the client. I am sure I need to use vbscript to pass the date properties to some varible that will allow me to pass that varible to my vfp dll. I did not write this app and am trying to give the user more functionality than the crude html calendar used oiginally.
>I need some help in making that happen. I do not know the syntax to access the calendar object and all the msdn KB is confusing. I need to do 2 things; 1. limit the date to current and nothing before, 2. pass the date selected to my vfp dll. Can someone help me get started?
>

You'll probably need to assign the date chosen by the user to a form variable on the client.

Have the page with the control on it define an empty variable, and have the script that runs after the date choice is made assign the value from the calendar to that form variable. When the form is submitted, it will go up with everything else, and you can read it as a form var on the server.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform