给定一下就行了
Form1.ScaleWidth = Form1.Width
Form1.ScaleHeight = Form1.Height
Private Sub Form_Activate() Form1.DrawWidth = 5 Form1.ScaleWidth = Form1.Width Form1.ScaleHeight = Form1.Height Form1.PSet (Form1.Width / 2, Form1.Height / 2), vbRed Form1.ScaleWidth = Form1.Width + 500 Form1.ScaleHeight = Form1.Height + 500 Form1.PSet (Form1.Width / 2, Form1.Height / 2), vbGreen Form1.ScaleWidth = Form1.Width - 500 Form1.ScaleHeight = Form1.Height - 500 Form1.PSet (Form1.Width / 2, Form1.Height / 2), vbBlue End Sub