Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to replace key use keyboard?
Message
From
04/04/2002 11:43:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/04/2002 10:10:47
Michale Chen
Shijiazhuang ZhiYuan Crop.
Shijiazhuang, China
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00640185
Message ID:
00640936
Views:
15
Michale,
As I said in the first place you don't need to code all this stuff in controls. You could control it from one central place grid itself :
*Grid.BeforeRowColChange
LPARAMETERS nColIndex
if !mdown() and inlist(lastkey(),9,13)
 nodefault
 keyboard '{DnArrow}'
endif
Cetin

>Hello Sergey:
>
>
>A grid may have many column,did you have a method to set all column textbox keypress event?
>
>If a use this code in one of the textbox is right?
>
>
>If inlist(nkeycode,13,9)
>
>
>
> skip in(This.parent.parent.recordsource)
>
>nodefault
>
>
>This.parent.parent.setfocus( )
>
>Endif
>
>
>
>
>
>
>
>
>
>Thank you.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform