Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving to next row in a Grid
Message
 
À
18/08/1998 00:00:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00127246
Message ID:
00127668
Vues:
42
>>Barbara
>
>

>
>um...
>I ve tried to code in keypress() to handle arrow command.
>But it do not work. Even I want to do a silly thing!
>
>Field1         ==>    Field2
>                        ||
>                        \/
>Next Field1    <==   Next Field2
><pre>
>
>i.e.
>
>if nKeycode = ...
>KeyBoard '{Tab}'
>KeyBoard '{DNARROW}'
>KeyBoard '{Shift+TAB}'
>endif
>
>but it outcome is:
><pre>
>Field1         ==>    Field2
>                        ||
>                        \/
>                    Next Field2   ==> Next Field3
><pre>
>
>>~<'
>The last Keyboard '{SHIFT+TAB}' work equal Keyboard '{TAB}' !!

Justok,

You need a NODEFAULT to stop the leystroke from being processed by VFP. Change your code to;

<PRE>>
if nKeycode = ...
   NODEFAULT
   KeyBoard '{Tab}'
   KeyBoard '{DNARROW}'
   KeyBoard '{Shift+TAB}'
endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform