Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox in grid
Message
De
03/08/2005 09:44:13
 
 
À
02/08/2005 09:19:38
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
MySQL
Divers
Thread ID:
01037801
Message ID:
01038107
Vues:
25
With the IDE i put a combobox into a column. (column2 now has header1,text1 and combo1)
A init of my form i did:
thisform.grid1.column2.currentcontrol = "combo1"
thisform.grid1.column2.rowsourcetyp ....
thisform.grid1.rowrource ....

error:column2 currentcontrol expression return invalid value ???


Is there some reason that you doing this in code? Wouldn't it be much simpler just to set the column's CurrentControl property in the property sheet in the desgner?

The only reason that I can think of for such an error is that you have a typo and have misspelled the name of the combo in column2. Or else therre really is no combo in column2...

You may want to check out the white paper and sample code on my web site called "ow to Put a Combo Box in a Grid"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform