GRID动态增加cobmo出现的问题
thisform.grid1.ColumnCount = -1thisform.grid1.RecordSourceType = 1
thisform.grid1.RecordSource = "tb"
WITH thisform.grid1.Columns(1)
.AddObject('Combo1','ComboBox')
.CurrentControl = 'Combo1'
.Combo1.Visible = .t.
.Sparse = .f.
.Combo1.borderstyle = 0
.Combo1.additem("男")
.Combo1.additem("女")
ENDWITH
这里提示红色部分中columns不是一个对象,是什么情况呢