| 发表于:2007-01-13 10:02:06 楼主 |
with mshflexgrid1 .rows = 20 .cols = 10 .fixedrows = 3 .mergecells = flexmergefree .cellalignment = mshierarchicalflexgridlib.alignmentsettings.flexaligncentercenter .textmatrix(0, 0) = "单位 " .textmatrix(1, 0) = "单位 " .textmatrix(2, 0) = "单位 " .textmatrix(0, 1) = "销售收入 " .textmatrix(0, 2) = "销售收入 " .textmatrix(0, 3) = "销售收入 " .textmatrix(1, 1) = "销售收入 " .textmatrix(1, 2) = "销售收入 " .textmatrix(1, 3) = "销售收入 " .textmatrix(2, 1) = "本月 " .textmatrix(2, 2) = "同期 " .textmatrix(2, 3) = "增减+\- " .mergerow(0) = true .mergerow(1) = true .mergecol(0) = true .mergecol(1) = true .mergecol(2) = true .mergecol(3) = true end with 问题1。销售收入的行合并了,列怎么没有合并? 问题2。这个控件设置了合并后,鼠标点击选中行怎么不行了?只能选中一个格? 谢谢 代码可以直接运行 |
|
|
|
|