Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox in grid help needed
Message
 
À
12/03/2001 05:59:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00483437
Message ID:
00484030
Vues:
15
One thing to remember. The cbo will not allow you to type in a value that is not in the rowsource list. I don't know if this is what is happening but if it is then you will need a way to add things to the list. I use rightclick().

Typically I populate a cbo like this...

Init
this.rowsource = "select field from table where field NOT LIKE ' ' "+;
                 "order by field into cursor mycursor"
this.requery()
with this.rowsourcetype set to 3.

Then if you need to add to the list, rightclick to expose a popup of some kind then do this.requery() again to refresh the cbo.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform