Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calendar
Message
De
06/03/2003 15:43:47
 
 
À
06/03/2003 11:47:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00762251
Message ID:
00762435
Vues:
16
Hi Jeffrey.

Does anyone have an calendar class that could use that would give my users an canlander looking gui to select a date and return the date in a particular format to go into a text box?

I have a class that does this in Chapter 1 of MegaFox: 1002 Thigs You Wanted to Know About Extending VFP

If you don't happen to have that book, we have a little composite calendar class that acta like a combo box in Chapter 4 of 1001 Things You Wanted to Know About VFP

If you don't have either book, I included a text box that called up a caledar form fron its dblClick() in the session I gave called "Where Does the Code Go?" at Essential Fox 2002 and GLGDW 2001.

If you weren't at either of those conferences, then you can roll your own easily enough using MsCal.ocx. Just be aware that if you create the form using the version that ships with Office XP and your users are running Office 2000, your control will break on the user machine. This is because Microsoft activeX controls are forward compatible only. You may want to have a look at Doug Hennig's Article "Tame Your ActiveX Controls" in the June 1998 issue of FoxTalk Magazine. He includes an ActiveX loader that gets around this problem. 'Course, if you are coming to Essential Fox next month, you can come to my ActiveX controls session and get an updated version of his activeX loader along with a pop-up calendar form that uses it. He was kind enough to let me have the code for my session < s >.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform