Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing DateTime to fields using hot key
Message
From
28/02/1998 21:17:58
 
 
To
25/02/1998 10:53:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00080882
Message ID:
00081926
Views:
26
Perhaps you could provide a shortcut menu to execute a command like: _Screen.ActiveForm.SetTheDate()

...In SetTheDate()

WITH ThisForm.txtUsersDate
.VALUE = DATE()
.VISIBLE = .T.
.SETFOCUS()
ENDWITH
RETURN

... In ThisForm.txtUsersDate.Valid()
WITH ThisForm.edtEditBox
.VALUE = STUFF(.VALUE, .SELSTART,0, DTOC(THIS.VALUE))
.REFRESH()
.SETFOCUS()
ENDWITH


...Let me know what you think of my suggestion, I hope it is usefull.
Thank you,
- Frank
Previous
Reply
Map
View

Click here to load this message in the networking platform