摘要: 常用属性、方法。1、 VSFlexGrid1.Redraw = True '提高速度 VSFlexGrid1.ExtendLastCol = True '調整列寬 VSFlexGrid1.AllowUserResizing = flexResizeBoth '可调整行/列 GridTree.BackColorAlternate = RGB(215, 255, 255) '间隔行背景色 GridTree.SelectionMode = flexSelectionListBox '焦点选中样式 GridTree.FormatS... 阅读全文
posted @ 2012-12-06 10:44 [九狐科技]keheng 阅读(3036) 评论(0) 推荐(0) 编辑
摘要: 1,如果想把某一列设置成下拉匡中选择,只能写成 grid.colcombolist(1) = "a|b|c" 吗?能不能把下拉框中的数据和 recordset 或数组绑定。 答案:grid.colcombolist(1)=grid.buildcombolist(rs!abc)2,怎样限定第三列可编辑,其他列不可编辑?答案:Private Sub fg_BeforeEdit(ByVal Row As Long, ByVal Col As Long, Cancel As Boolean) '*******先将设editable=2 '限定不可编辑列,如有5列 I 阅读全文
posted @ 2012-12-06 09:07 [九狐科技]keheng 阅读(3219) 评论(0) 推荐(0) 编辑