VB如何让文本框text1显示在底部?

2025-03-14 05:25:37
推荐回答(2个)
回答1:

Private Sub Form_Resize()
Text1.Move Me.ScaleWidth - Text1.Width, Me.ScaleHeight - Text1.Height
End Sub

回答2:

Private Sub Form_Resize()
Text1.Left = Form1.Width - Text1.Width
Text1.Top = Form1.Height - Text1.Height * 2
End Sub