Did you make sure that you had the properties sheet open at the required column (step 2 below)
>hi,
>i do all steps,but i see the combo at myform,not inside the column at mygrid
>thanks.
>
>>Do you mean you want a combo box in one of your columns, instead of the default text box? If sO:
>>
>>-Select the column you want the combo in.
>>- H ave the Properties form open at this column
>>- From your Form Controls toolbar, select your combo
>>- In the properties form click on the column
>>- If you drill down on that column You will now see that it has a combo as well as a text box.
>>- Set the column's CurrentControl property to the combo (it will be in the drop-down list)
>>- In the properties form click on the now unwanted text box and hit DELETE
>>- Set the column's Sparse property to .F.
>>
>>
>>>hi,
>>>forget thisgrid.refresh() ,
>>>just i want to know how i can insert combobox at any column at mygrid
>>>thanks.
>>>
>>>>presuming that "typ" is the field that is the source for the column,
>>>>what does thisgrid.refresh() after the replace do?
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.