>>>Anyway, the last column's problem still remains.
>>
>>Here it is one example form.
>>It is NOT a bug free form :-))
>>Just wanted to show combos in grid.
>
>I see, interesting - I'll try similar idea with BackColor.
>
>One difference in the last column - originally it doesn't fit, so I need to resize the form to see it. Also, the field stores S, E, C and I want to show description (so, the combo consists of 2 columns). Can you please revise the sample taking into account these two things?
>
>Thanks in advance.
Naomi,
I suppose if you change the code in the init to
With Thisform.Grid1.Column4.Combo1
.AddListItem( 'S' )
.AddListItem( 'Start Seat', .NewItemId, 1 )
.AddListItem( 'C', .NewItemId, 2 )
.AddListItem( 'Centre Seat' )
.AddListItem( 'E', .NewItemId, 3 )
.AddListItem( 'End Seat')
Endwith
Thisform.Grid1.SetAll("DynamicBackColor", "thisform.RefreshCombo()", "Column")
you can enjoy a good night rest?
Regards,
Koen