Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preventing automatic setting focus on next field when le
Message
De
09/05/2001 01:18:50
Jill Derickson
Software Specialties
Saipan, CNMI
 
 
À
08/05/2001 23:35:45
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00505111
Message ID:
00505142
Vues:
20
Vladimir,

Is Set Confirm what you're looking for? The Hacker's Guide says:

"With CONFIRM ON, the user must explicitly complete an entry in a text box or spinner by pressing Enter, Tab or a navigation key. When CONFIRM is OFF, filling a text box or spinner (by entering either as many characters as the InputMask calls for or as many as will fit) moves the cursor to the beginning of the next input field automatically."

(Took me quite awhile to find it, since MY memory isn't too good these days either...)

HTH

J

>Let form has fiew fields , length of each one
>is limitted by lenth of field of field in the table (controlsource)
>or by input mask. When user press keys and enter data without looking
>on the form , the focus set automaticcaly on the next filed on the form
>when length of data entry is more than field lenghth.
>One my user is strongly against that.
>Let he enters very long e-mail gugajgjhg …..@ru
> This ru can be on the next field fo web page or telephone
>I did not find any properties for preventing such FOX behaviour.
>It seems to me in 1995 we fixed this problem somehow, but propably I became old and have weak memory
>and did not remember the solution
>I wrote some small code in valid event using text length and lastkey function
>that prevent setting focus on the next field, if user pressed keys being different from 'arrows' 'tab' 'enter'
>but it prevent also mouse motion, when user did not enter anythig at all or enter normal length data and wants to set focus by mouse on the next or some other field
>Thanks in advance for freshing my weak memory. Vladimir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform