Information générale
Catégorie:
Codage, syntaxe et commandes
>>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement