Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Have ENTER key move cursor down?
Message
 
À
11/02/1999 10:45:48
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00186425
Message ID:
00186715
Vues:
21
Hey!

INLIST() is a function that I've never used.

See, I learned somethig new again.

Joe


>Bill,
>
>Seems like you've gotten a few replies, but here's how I've done it since VFP 3.
>
>In the valid of the last column I put something to this effect:
>
>IF DoDefault()
> Thisform.MoveNext &&--Method built into my forms
>ENDIF
>
>The trick is to have it only happen for keys the user would press, such as TAB, ENTER, the numbers, or letters. You run into trouble unless you check for specific keys
>
>
>MyFormClass.MoveNext
>IF INLIST(LASTKEY(),13,48,59,50...) OR...
>  SKIP
>  IF EOF()
>    FrameWorkMethod.AddRecord()
>  ENDIF
>ENDIF
>
>
>Hope one of the approaches works for you.
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform