Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Goto next row in grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00178880
Message ID:
00179202
Vues:
29
>>>You don't need to put {RIGHTARROW} to go to the first column. It does it automatically. Try it.
>>
>>Nope. Just tried it. If I'm in the last column of the grid, right arrow moves me to the last column of the next row. You must be using a subclass of VFP grid class which automatically selects first column when you change row.
>>
>>Note: what I tried was doing it interactively, i.e. pressing the arrow keys myself. I didn't try stuffing the keyboard. But I surely hope the results would be the same stuffing the keyboard as pressing the keys.
>>
>>Regards,
>
>Well, maybe you should try again, in code. What should happen is that when you stuff with {DNARROW}, it works with the key you already pressed (e.g. ENTER). Thus, I don't know which key gets fired first but the ENTER key will move you to column1 and DNARROW will move you down a row.

Oh, I was assuming NODEFAULT in the KeyPress event, suppressing the Enter/Tab. I see your point.

Regards,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform