MSHFlexGrid的双层列怎么设? mshflexgrid1.rows=3mshflexgrid1.FixedRows=2 然后通过合并列实现! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 帮你写好的代码:Private Sub Command1_Click()With MSHFlexGrid1 .Clear .Rows = 3 .FixedRows = 2 .MergeCells = flexMergeFree .FormatString = "序号|客户编号|客户名称|应收账款|应收账款" .TextMatrix(1, 0) = "序号" .TextMatrix(1, 1) = "客户编号" .TextMatrix(1, 2) = "客户名称" .TextMatrix(1, 3) = "发票额" .TextMatrix(1, 4) = "结算额" .MergeRow(0) = True .MergeCol(0) = True .MergeCol(1) = True .MergeCol(2) = True End WithEnd Sub 帮你写好的代码:Private Sub Command1_Click()With MSHFlexGrid1 .Clear .Rows = 3 .FixedRows = 2 .MergeCells = flexMergeFree .FormatString = "序号|客户编号|客户名称|应收账款|应收账款" .TextMatrix(1, 0) = "序号" .TextMatrix(1, 1) = "客户编号" .TextMatrix(1, 2) = "客户名称" .TextMatrix(1, 3) = "发票额" .TextMatrix(1, 4) = "结算额" .MergeRow(0) = True .MergeCol(0) = True .MergeCol(1) = True .MergeCol(2) = True End WithEnd Sub 是否设计界面大小与所用电脑显示器分辨率有关 addhandle 和 withEvents 唯一的区别就是在能否预定静态事件? listview问题 vb的combo问题 100分,帮我用winsock 做一个本机对本机对发消息的实验程序。这几天太疲劳了,要实验的东西很多,而且严重缺乏睡眠。 寻找VB开发ActiveX的电子书... 求VB制作的《客房管理系统》毕业论文 高手请教(CAD) 位图处理? 一个很简单的关于list的问题~~ 奇怪的问题,ADO提取不出数据 请问那位大虾教我一下,有分得!!!
Private Sub Command1_Click()
With MSHFlexGrid1
.Clear
.Rows = 3
.FixedRows = 2
.MergeCells = flexMergeFree
.FormatString = "序号|客户编号|客户名称|应收账款|应收账款"
.TextMatrix(1, 0) = "序号"
.TextMatrix(1, 1) = "客户编号"
.TextMatrix(1, 2) = "客户名称"
.TextMatrix(1, 3) = "发票额"
.TextMatrix(1, 4) = "结算额"
.MergeRow(0) = True
.MergeCol(0) = True
.MergeCol(1) = True
.MergeCol(2) = True
End With
End Sub
Private Sub Command1_Click()
With MSHFlexGrid1
.Clear
.Rows = 3
.FixedRows = 2
.MergeCells = flexMergeFree
.FormatString = "序号|客户编号|客户名称|应收账款|应收账款"
.TextMatrix(1, 0) = "序号"
.TextMatrix(1, 1) = "客户编号"
.TextMatrix(1, 2) = "客户名称"
.TextMatrix(1, 3) = "发票额"
.TextMatrix(1, 4) = "结算额"
.MergeRow(0) = True
.MergeCol(0) = True
.MergeCol(1) = True
.MergeCol(2) = True
End With
End Sub