读书人

动态数据窗口怎么将列设为单选框

发布时间: 2012-02-25 10:01:49 作者: rapoo

动态数据窗口如何将列设为单选框
各位,
用语句写动态数据窗口时,怎么将某列设置成单选框
dw_1.modify("a.Edit.Case='any'")
dw_1.modify("a.checkbox.on=1")
dw_1.modify("a.checkbox.off=0")
dw_1.modify("a.checkbox.scale=no")
dw_1.modify("a.checkbox.threed=yes")
用如上语句后,能出现单选框,但不能编辑,怎么处理啊

[解决办法]
查一下taborder的值是多少
[解决办法]

探讨
查一下taborder的值是多少

[解决办法]
我看了下帮助,帮助是这样说的
OffA string constant specifying the column value when the CheckBox is off (unchecked). The resulting value must be the same data type as the columnPainter: Data Value for Off optionOnA string constant specifying the value that will be put in the column when the CheckBox is on (checked). The resulting value must be the same data type as the columnPainter: Data Value for On option
[解决办法]
dw_1.SetTabOrder('A', 10)
[解决办法]
探讨
dw_1.SetTabOrder('A', 10)也不能编辑

读书人网 >PB

热点推荐