Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo won't trigger interactivechange
Message
De
15/06/2000 12:48:57
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Combo won't trigger interactivechange
Divers
Thread ID:
00380828
Message ID:
00380828
Vues:
54
I'm fighting for a few days now with a series of controls, where majority of them are combos of a certain class. They are designed for quick hands-on data entry, and require only one keypress each (for most of the time). Now for new data it works fine - as soon anything is entered in the combo, the few lines of code in the InteractiveChange move the focus to the next control, but if there's already a value in it, the InteractiveChange doesn't fire, and if the user presses the key corresponding to that value (like, if there's a "4" and the user presses "4"), the combo stops responding to keyboard. The only ways out are the mouse, or Tab, or Enter.

I've tried several things before posting this - checking IncrementalSearch (it's .t.), SelectOnEntry (.t.), stuffing alt+dnarrow in the keyboard at GotFocus (it does roll it down, but the behavior above remained), blanking the value (but restoring the DisplayValue), to no avail.

Any hints as what else can I do? The goal is to have the InteractiveChange triggered by keyboard even if value doesn't change. I know I could use KeyPress, but that wouldn't work for mouse, ... or should I?

TIA

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform