控件大小问题 在窗体中有一Toolbar,一个Statusbar,一个图片框,还有菜单,代码怎么写使图片框充满剩下的窗体空间 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在Form_load和Form_Resize事件中都写下如下语句便可 Picture1.Top = Toolbar1.Height Picture1.Left = 0 Picture1.Width = Me.ScaleWidth Picture1.Height = Me.ScaleHeight - Toolbar1.Height - StatusBar1.Height Picture1.Move 0, Me.Top - Toolbar1.Height, Me.Width, Me.Height - Toolbar1.Height - StatusBar1.Height Private Sub Form_Resize() Picture1.Top = Toolbar1.Top + Toolbar1.Height Picture1.Left = 0 Picture1.Width = Me.Width Picture1.Height = Me.ScaleHeight - StatusBar1.Height - Toolbar1.Height Picture1.BackColor = vbRedEnd Sub VB将文件改成不可运行的乱码并可以还原怎么实现? 储存一个表达式应该用什么变量类型啊(急) 怪事今年特别多!!来看看!! me.Controls("CmdOk") .Caption = "确定" 高手说话?? 关于笔记本的问题 高分请教,谁知道怎么在VB中控制摄影头。 mshflexgrid控件问题 求救~~~哪位高手知道使用何API函数能进行本机IP地址修改? 迷茫的人,关于编程语言的选择. 各位大虾帮帮忙!! 各位大虾:CHM文件怎么用代码打开?? 如何建立web站点,并在执行许可中设置成“纯脚本和可执行程序” VB中如何使用ADOX来对数据库进行选择,删除,插入操作??
Picture1.Top = Toolbar1.Height
Picture1.Left = 0
Picture1.Width = Me.ScaleWidth
Picture1.Height = Me.ScaleHeight - Toolbar1.Height - StatusBar1.Height
Picture1.Top = Toolbar1.Top + Toolbar1.Height
Picture1.Left = 0
Picture1.Width = Me.Width
Picture1.Height = Me.ScaleHeight - StatusBar1.Height - Toolbar1.Height
Picture1.BackColor = vbRed
End Sub