>Hi all
>I see some grid that in it for example a combo box is in one column instead of one textbox.
>How I can make this? Is it only a class? And must it be only a class?
>Thanks
You can put almost any control into a grid column. Usually, you would want to take out the TextBox.
The real problem is selecting the contained objects - at least in VFP6, you have to do this through the Properties Sheet.
You will have to change the Column.CurrentControl property. For many controls, it is also convenient to change the property Column.Sparse. This affects visibility.
You can also have more than one control in a column, and conditionally activate one or the other. But I suggest that you better start experimenting with single controls, like a ComboBox instead of a TextBox.
And no, I don't think it has to be based on a specific class you created.
Greetings,
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)