Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving to next row in a Grid
Message
 
To
18/08/1998 00:00:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00127246
Message ID:
00127668
Views:
43
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform