DBGridEh3.6和DBGridEh5.2的区别,如果一个数据库字段用1和0 表示是否选择之类的Boolean类型,在DBGridEh里这个字段可设为CheckBoxes=True,这样在界面里就可以把该字段以选择框的形式显示,但这两个版本来显示这个字段时有一点区别,3.6版本的这种字段还需要在KeyList里填入选择和不选择的对应值,一般用1表示选中,0表示未选中,则填入
1
0
就可以了,否则在界面上反映不出选中和没选中的状态,而5.0以上的版本,不需要设置KeyList,只需要设置CheckBoxes=True就可以了。