Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I restore value of combobox after interactive ch
Message
De
17/05/2001 11:45:51
 
 
À
17/05/2001 11:36:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00506637
Message ID:
00508352
Vues:
25
David --

>Thanks Jay. Please note that in this situation there is no control source, so oldval() and curval() can't be used. Also, (I think?) that I can't code it in the gotfocus because, if I understand when gotfocus fires correctly(??), it wont fire if focus is already on the control, and then you click to it again, and change the value, gotfocus won't fire. So I coded it in the click event. I haven't yet tested when gotfocus actually fires, so I might be all wrong on this. What do you think?

I may have misunderstood what you're trying to do. If you want to get the state of a control as the user enters it and before modification, the GotFocus event will execute whether the user enters through the keyboard or a mouse. I was sharing our experience in attempting to do that.

You may have other requirements. If so, I've found experimenting with the various events is the best way to get a handle (sometimes it's like a tiger by the tail!)

Jay
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform