Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox - Strange behavior
Message
De
11/06/2003 15:00:49
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00798672
Message ID:
00799077
Vues:
25
Hello Mariam.

I put DoDefault() because they advised to me to do this.

Who is they and what is their rationale?

Combo.InteractiveChange()

Is this actually a line of code in your method? This should cause a syntax error (unless, of course, you have a global variable called combo or your global error handler happen to be ON ERROR *)

I'm thinking it's a bug.

Yes, I agree. It is probably a bug in your code < s >.


Personally, I would code it like this:

In the Valid() of the combo box put this code:
*** First of all, let's rename command1 to something
*** more meaningful and self documenting so we have some
*** clue about what it is doing
This.Parent.cmdDoSomethingSpecial.Rrefresh()
And in the refresh of my command button, I would have code like this:
This.Enabled = ( < The combo box's ControlSource has a specific Value or is not empty or some other condition > )
HTH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform