Information générale
Catégorie:
Codage, syntaxe et commandes
Not sure to what your problem is Michel. Can you display the dropdown list by clicking on the combobox? Is there any records in the table the grid is bound to?
>I have a form with two column. In the second column I want to have a combo with two value for example "Screen" and "Dyplay". I put a combo in the column two and remove the textbox in this column. In the init of the for I additem to the combo
>thisform.grdCombo.column2.Cmbbox1.AddItem("Screen")
>thisform.grdCombo.column2.Cmbbox1.AddItem("Dysplay")
>thisform.grdCombo.column2.Cmbbox1.Enabled = .t.
>
>I try with the sparse to .t. and .f.
>
>The combobox seem to be allways readonly I can open the combo to select an item. In the object I can see that there is two item in the combo.
>
>The grid is enabled and the column two is enabled.
>
>What is the problem. Can I do something like that or maybe I must have value from a fiel in the table for each row.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement