Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Boxes inside a grid
Message
De
03/09/1999 16:15:55
 
 
À
26/08/1999 11:07:33
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00252876
Message ID:
00261360
Vues:
22
Hi Rex.

>> PMFJI, but I am having some problems after I have the combo in the grid. When the form is run, the grid column show the ComboBox.ControlSource value, not the ComboBox.RowSource value. <<

Sorry it has taken me so long to respond, but I have been away for a couple of weeks, part of it at the SoCal conference. I see that no one else has jumped in here.

I'm really not sure what you mean. The grid column is going to display the value of the field that it is bound to (i.e., its ControlSource). This is the same as the ControlSource of the embedded combo. The combo's value will be the same as its ControlSource once its valid has fired.

Do you mean that you are doing something like binding the combo to some sort of key value in the RowSource but displaying the associated descriptive text in column 1? And when the combo loses focus, the key value is displayed instead of the description? If so, this is exactly what I would expect to happen since text boxes do not have a DisplayValue property. There are ways to make this sort of thing work if this is the problem, so if it is, let me know and we can go into it.

Marcia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform