码迷,mamicode.com
首页 > 数据库 > 详细

access窗口标签居中

时间:2018-05-05 21:45:28      阅读:250      评论:0      收藏:0      [点我收藏+]

标签:log   窗口   tail   username   size   use   2.3   erro   err   

Private Sub Form_Resize()
On Error Resume Next
Me.Width = Me.InsideWidth
Me.Section(acDetail).Height = Me.InsideHeight
Me.Label_u.Move (Me.InsideWidth - (Me.login.Left + Me.login.Width - Me.Label_u.Left)) / 2.3, (Me.InsideHeight - Me.login.Height) / 2.5
Me.Label_u.Move Me.Label_u.Left + 15, Me.Label_u.Top - 50
Me.Label_p.Move Me.Label_p.Left, Me.Label_p.Top + Me.login.Height - Me.password.Height
Me.Label_p.Move Me.Label_p.Left + 15, Me.Label_p.Top - 50
Me.username.Move Me.Label_u.Left + Me.Label_u.Width, Me.Label_p.Top
Me.password.Move Me.username.Left, Me.Label_p.Top

end sub

access窗口标签居中

标签:log   窗口   tail   username   size   use   2.3   erro   err   

原文地址:https://www.cnblogs.com/ince/p/8996165.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!