Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calendar Capture
Message
De
23/01/2021 23:42:32
 
 
À
23/01/2021 16:08:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01677902
Message ID:
01677907
Vues:
74
Jeff,
>
>I am looking for a way to allow the user to select from a calendar using VFP 9.0. Upon their selection of the day month and year from the calendar, the date to be displayed i a text box. Any ideas on how to accomplish? I think there is a calendar wizard in vfp 9.0.

a few years ago I was half involved in a commercial framework. For similar issues I based a fall-back calendar input option on a pure vfp calendar I found in the downloads of Leafe.Com. I created a wrapper around the 3 already supported ways to enter date or datetime and used that wrapper to instantiate the control wished for and in case of error / activeX not installed etc. to instantiate the pure vfp after an "informal error screen" that this control was loaded due to an error instantiating the intended control. Why: ? I am not much interested in good looks (as long as the topic is only computer, forms or controls), but want to be certain users can work even if singular machines grow troubles. Then users or their admins can tweak windows internal stuff until it breaks - without calling on me.

There used to be another calendar on FoxWiki, also I worked short time on a project that had some kind of "ultimate" vfp lib included with lots of options, but did not check on the source or sources used there.

IIRC the Sweetpotato version from Tore's link had problems with some of the set date values - if you have customers outside US and do not control set date with an iron fist (perhaps even inviting user settings done in windows via long or short) check if fixed by now. ANSI, YMD or Japan for me the only sensible values for set date, so all my screens start from that and only sometimes get bribed into other settings users expect - including those expecting German settings ;-)

regards
thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform