Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress and Keypreview problem
Message
De
07/12/2008 18:57:38
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
07/12/2008 16:55:36
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01365671
Message ID:
01365880
Vues:
11
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform