Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing DateTime to fields using hot key
Message
From
25/02/1998 10:55:25
 
 
To
24/02/1998 17:10:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00080882
Message ID:
00081091
Views:
26
>>>>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..
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform