经调试,问题出在了这:
Private Sub Form_Resize()
Pics.Width = Me.Width - 2 * Pics.Left - 100
PicCapture.Width = Pics.Width
PicCapture.Left = Pics.Left
fraTop.Left = Me.Width - fraTop.Width - 200
frabott.Width = Pics.Width
frabott.Left = Pics.Left
tz.Left = frabott.Width - tz.Width - 200
frabott.Top = Me.Height - frabott.Height - 600
Pics.Height = (frabott.Top - Pics.Top - 300) / 2
PicCapture.Top = Pics.Top + Pics.Height + 200
PicCapture.Height = Pics.Height ImgRet.Left = Pics.Width - ImgRet.Width - 200
End Sub之前别的类似软件最小化也有问题出现在第一行的时候,请教大家是什么原因呢 该如何更改呢? 谢谢
Private Sub Form_Resize()
Pics.Width = Me.Width - 2 * Pics.Left - 100
PicCapture.Width = Pics.Width
PicCapture.Left = Pics.Left
fraTop.Left = Me.Width - fraTop.Width - 200
frabott.Width = Pics.Width
frabott.Left = Pics.Left
tz.Left = frabott.Width - tz.Width - 200
frabott.Top = Me.Height - frabott.Height - 600
Pics.Height = (frabott.Top - Pics.Top - 300) / 2
PicCapture.Top = Pics.Top + Pics.Height + 200
PicCapture.Height = Pics.Height ImgRet.Left = Pics.Width - ImgRet.Width - 200
End Sub之前别的类似软件最小化也有问题出现在第一行的时候,请教大家是什么原因呢 该如何更改呢? 谢谢
解决方案 »
- 求:把网页源文件中所有的尖括号"<>"里东西(含"<>"自身)直接全部给删掉,正则表达式代码怎么写?
- listview的棘手问题
- 像QQ或者金山快译的热键设置时的,组合键检测问题
- ActiveReport1.1哪有下的啊
- VB获取系统信息
- 关于报表
- 关于在VB中使用SQL语句的问题!!!!
- 打印预览
- 能否制作这样一个软件,自动打开txt文档,把txt文档中的第一行提取出来,作为题目添到标题栏,把标题以后的所有正文提取出来放到正文栏里面,然后关闭txt文档。能否帮我设计一个这样的程序嘛?一定重谢~~
- 怎样用VB编写多线程程序???十万火急谢谢
- 怎么判断两张图片是一样的呢?
- 怎么停止数字循环,我是小菜
Private Sub Form_Resize()
If Me.WindowState = vbMinimized Then Exit Sub
...
End Sub
1)窗体自己应该是 Me,Form1 是一个特定实例。
2)不要用魔法数。