子窗体长宽大小随主窗体变化自动调整示例

'写在窗体调整事件过程中

Private Sub Form_Resize()
On Error Resume  Next
Me.子窗体1.Width = Me.InsideWidth
Me.子窗体1.Height = Me.InsideHeight - Me.Section(acHeader).Height - Me.Section(acFooter).Height
End Sub


点击下载附件

Last modification:July 11th, 2018 at 09:45 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment