Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit date values
Message
De
02/01/2013 15:21:51
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
02/01/2013 15:15:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01561088
Message ID:
01561097
Vues:
68
>>If I'm not mistaken, I believe that a VFP textbox bound to a date field had some built in smarts that would let end users edit the date value by using the up/down arrow keys (and perhaps pageup/pagedn too). The month/day/year portions of the date would be automatically highlighted/selected and simply by pressing the up/down arrow keys, the highlighted value would increase/decrease by 1.
>>
>>Am I just dreaming that this was the way it worked out of the box? If not, can anyone give me some pointers as to how I go about getting it done? I've tried fooling with the input mask and format properties of the textbox but no joy.
>>
>>TIA
>>Mike
>
>The only native functionality with dates in textboxes is if the date is highlighted, you can use + or - to in increment or decrement the date by 1.

Hey Frank,

Your reply does sound familiar. Too bad it only adjusts by one day though.

BTW, are you really a Trini? If so, I envy you at this time of the year (or is it your rainy season?)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform