Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress and Keypreview problem
Message
From
07/12/2008 18:57:38
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
07/12/2008 16:55:36
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01365671
Message ID:
01365880
Views:
10
>I was almost there with the form's keypreview and keypress event until the browser control got in the way :)

...because it HAS the control. I wanted to add "unfortunately" but then maybe not - it's just as it is and we better put it to use. It has its own ways, we can just do things by those ways.

>BTW, do you have any suggestion as to what javascript event I should investigate for a keypress?

What Nadya said. Though I'd rather go with OnKeyUp(), if such a beast exists. Just in case user is used to the Windows (or others' too?) standard of reacting on where you left off (key up, mouse up) rather than where you came in, so if you click in a wrong place you still don't have to endure everything that follows, if you move the mouse (or press another key) before lifting your finger off the key.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform