>Hi,
>
>I am using the standard Visual Foxpro grid. But I want to change one of the column to be a combobox instead of the standard textbox. How can I do this? Thank you.
>
>Neetu Kumar
Add a ComboBox to the column and set the Column's .CurrentControl property to be the name of the ComboBox:
thisform.Grid1.ColumnX.CurrentControl="combo1"
You can do this visually in the form designer or you can make a new grid class specifically for use with this table with the class designer.
Or you can do this programmatically in the Grid.Init, adding the new control. Just be sure to also set the new control's .Visible property to .t., and to set the column's .Sparse property to .f. if you want to see the control on all rows of the grid.