|
楼主的大作,看了后,觉得白花去了我两个银子,不得不说上两句,其它不说,调整大小事件,一个简单的东西,却要画蛇添足,还要去写个函数FormAutoResize(Form As Form, ByRef CltInit As Collection, ByRef Initialized As Boolean),也不知是你自己写的还是抄上去的?
送楼主一个调整大小事件的代码:
Private Sub Form_Resize()
Me.Child13.Width = Me.InsideWidth - Me.Child13.Left
Me.Child13.Height = Me.InsideHeight - Me.Section(acHeader).Height - Me.Section(acFooter).Height - Me.Child13.Top
Me.txtdatasr.Height = Me.InsideHeight - Me.Section(acHeader).Height - Me.Section(acFooter).Height - Me.txtdatasr.Top
End Sub |
|