Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing DateTime to fields using hot key
Message
De
25/02/1998 10:55:25
 
 
À
24/02/1998 17:10:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00080882
Message ID:
00081091
Vues:
25
>>>>I'd use the Keypress method of the textbox or its underlying form for this. Much cleaner.
>>>
>>>Yeh, I thought you'd say that. Was just hoping for an on key solution.
>>>Thanks for your help.
>>>Terry
>>
>>Steven is right here, since OKL is kind of frowned upon in VFP...
>Well guys its back to the drawing boards. My ALT+D key is screened out by the date time field as an invalid entry so I can't check for it in the Keypress method. Bummer!
>Also, in the memo edit editBox how do I "INSERT" the date time as the user is typing (ie. they hit ALT+D during typing and the date time is placed in the text stream where they hit ALT+D)

Could you not have have a button they press that brings up a modal form for them to enter into the field?? When they do this, tack the date/time into the field then allow them to edit the field..
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform