标题:用datagrid实现MSFlexGrid1的功能怎么实现
只看楼主
guomanjie
Rank: 1
等 级:新手上路
帖 子:41
专家分:0
注 册:2013-11-21
结帖率:88.89%
 问题点数:0 回复次数:0 
用datagrid实现MSFlexGrid1的功能怎么实现

这是用MSFlexGrid1实现的表格,串口通信
程序代码:
MSFlexGrid1.Cols = 7
MSFlexGrid1.Rows = 200 + 1
MSFlexGrid1.Col = 0
For I = 1 To 200
MSFlexGrid1.Row = I: MSFlexGrid1.TextMatrix(I, 0) = " " + Str$(I)
Next I

 MSFlexGrid1.TextMatrix(0, 1) = "S1"

 MSFlexGrid1.TextMatrix(0, 2) = "S4"

 MSFlexGrid1.TextMatrix(0, 3) = "S2"

 MSFlexGrid1.TextMatrix(0, 4) = "S3"

 MSFlexGrid1.TextMatrix(0, 5) = "α"

 MSFlexGrid1.TextMatrix(0, 6) = "β"
MSFlexGrid1.TextMatrix(num, 1) = filedata3(num)
   MSFlexGrid1.TextMatrix(num, 2) = filedata6(num)
   MSFlexGrid1.TextMatrix(num, 3) = filedata5(num)
   MSFlexGrid1.TextMatrix(num, 4) = filedata4(num)
   MSFlexGrid1.TextMatrix(num, 5) = filedata1(num)
   MSFlexGrid1.TextMatrix(num, 6) = filedata2(num)


怎么用datagrid实现,有datagrid的例子吗
搜索更多相关主题的帖子: color 通信 
2013-12-30 09:48



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-425884-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.405272 second(s), 9 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved