Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing DateTime to fields using hot key
Message
De
28/02/1998 21:17:58
 
 
À
25/02/1998 10:53:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00080882
Message ID:
00081926
Vues:
25
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform