- huanyuan 一种可以穿透还原卡和还原软件的病毒代码
- ucos_lwip_web webserver+lwip网络应用代码 基于DSP518的软件开发
- dos5qi 一款运行在DOS环境下的五子棋游戏源码
- UiModelTreeContentProvider is a trivial implementation of ITreeContentProvider where elements are expected to be instances of UiElementNode.
- governor support for Linux v2.13.6.
- led_water FPGA 简单的LED流水灯 各种花样 适合新手学习 研究
文件名称:vb
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.4kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
假设 Form1 窗体有 MSFlexGrid1 控件,在 Form1 代码窗口贴下面代码,MSFlexGrid1 和其中单元格就会跟着窗体大小变化而变化:- gridTopRatio = .Top/Me.Height
gridWidthRatio = .Width/Me.Width
gridHeightRatio = .Height/Me.Height
ReDim colWidthRatio(.Cols- 1)
ReDim rowHeightRatio(.Rows- 1)
For i = 0 To .Cols- 1
colWidthRatio(i) = .ColWidth(i)/Me.Width
Next i
For i = 0 To .Rows- 1
rowHeightRatio(i) = .RowHeight(i)/Me.Height
Next i
End With
End Sub
gridWidthRatio = .Width/Me.Width
gridHeightRatio = .Height/Me.Height
ReDim colWidthRatio(.Cols- 1)
ReDim rowHeightRatio(.Rows- 1)
For i = 0 To .Cols- 1
colWidthRatio(i) = .ColWidth(i)/Me.Width
Next i
For i = 0 To .Rows- 1
rowHeightRatio(i) = .RowHeight(i)/Me.Height
Next i
End With
End Sub
(系统自动生成,下载前可以参看下载内容)
下载文件列表
vb.doc
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
