>Thank you, Edward for your answer!
>I start to "play" with dynamiccurrentcontrol as you suggested. It started to work as I wanted, except ..
>So, something is still wrong, because it show the combobox on starting the form and if I change row on different field, than this one, which contains combobox. But if I change the row from the field containing the combobox, on the next row (up or down is equal) a text box will appear. (for a very short period the combobox appears)
>
>Can you give me any suggestion?
>
>TIA
>
>BB
>
>>>Hi Everybody!
>>>
>>>I have a grid, and a combobox in one of its coloumn. The Sparse property of the column is set to false, so textbox changes to combobox only that case, when the the field is activated. (focused)
>>>Is it possible to change to the combobox instead of the default textbox, when the user activate any field in the row?
>>>
>>Instead of playing with Sparse (btw I guess you have Sparse=.t.), use DynamicCurrentControl property and reevaluate it using RECNO().
Set DynamicCurrentControl property to something like iif(lCondition,"MyComboBox","AnyOtherControl") and sparse to .t. as Edward said. It works just fine. This is from my working project iif(bilgi_turu = 1,"Uruncombo11","Uruncombo21"). It uses two different combo class based on a field value and combo only gets in action when the cell has focus.
Cetin