Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jumping to a cell in the grid.
Message
From
24/06/2003 08:15:17
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
24/06/2003 08:09:54
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00802924
Message ID:
00803217
Views:
21
Yes, asc(0), 0 or 120 would do :)
Cetin

>Hi Cetin,
>
>you are right. I was blinded by the table and miss the remarks. ::(
>
>As I read the initial message Alt+12 is an example
>
>He can use someting like + if he like or redirect in the way you show in the other message.
>
>Btw how obaut to call Keypress like
>
>on key label 'Alt+0' _screen.ActiveForm.KeyPress(ASC('0'),4)
>
>This looks like Alt+0
>
>All what I like to show was how to trap multiple keystokes. ::)
>
>Agnes
>
>>Agnes,
>>Alt+Key doesn't produce a KeyPress event.
>>Cetin
>>
>>>Hi Robin,
>>>
>>>you may catch the keybord input in KEYPRESS event. The problem with more then on Keystroke needs a timer.
>>>The timer is normaly disabled.
>>>The first keystroke reset and enables the timer, and stores the pressed key, then next keystroke resets timer again and adds its code to the previuosly stored one. this may run as long as a key is pressed during timers run. If the timer fires it disables itself and runs code to read the stored information. It also cleans the stored information.
>>>
>>>If you need further information let me know
>>>
>>>Agnes
>>>
>>>>Hi! Trying to find to allow the user to jump to a column in the grid by typing say ALT+12 to move to column twelve on the current row you are on.
>>>>
>>>>This is because it is not feasable to use the mouse because of the applications enviroment, and tabbing would simply take too long to do.
>>>>
>>>>Can I detect if the alt key is currently pressed when typing numbers?
>>>>
>>>>TIA
Ç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
Next
Reply
Map
View

Click here to load this message in the networking platform