Private Sub Command1_Click() Dim x As Single, y As Single Picture1.Circle (0, 0), 80, RGB(255, 0, 0)
PrivateSubCommand1_Click()DimxAsSingle,yAsSinglePicture1.Circle(0,0),80,RGB(255,0,0)P...
Private Sub Command1_Click()
Dim x As Single, y As Single
Picture1.Circle (0, 0), 80, RGB(255, 0, 0)
Picture1.FillStyle = 0: Picture1.FillColor = vbYellow
Picture1.Circle (Picture1.ScaleLeft + Picture1.ScaleWidth / 2, Picture1.ScaleTop + Picture1.ScaleHeight / 2), 40, RGB(0, 0, 255)
Picture1.FillColor = vbGreen
For x = -60 To 60 Step 0.01
y = Sqr(3600 - x * x)
Picture1.PSet (x, y), RGB(0, 255, 0)
Picture1.PSet (x, -y), RGB(0.255, 0)
Next x
End Sub
Private Sub Form_Load()
Picture1.Width = Picture1.Height
Picture1.Scale (-100, 100)-(100, -100)
End Sub
错误提示必选参数,,哪里错 了呀。。。 展开
Dim x As Single, y As Single
Picture1.Circle (0, 0), 80, RGB(255, 0, 0)
Picture1.FillStyle = 0: Picture1.FillColor = vbYellow
Picture1.Circle (Picture1.ScaleLeft + Picture1.ScaleWidth / 2, Picture1.ScaleTop + Picture1.ScaleHeight / 2), 40, RGB(0, 0, 255)
Picture1.FillColor = vbGreen
For x = -60 To 60 Step 0.01
y = Sqr(3600 - x * x)
Picture1.PSet (x, y), RGB(0, 255, 0)
Picture1.PSet (x, -y), RGB(0.255, 0)
Next x
End Sub
Private Sub Form_Load()
Picture1.Width = Picture1.Height
Picture1.Scale (-100, 100)-(100, -100)
End Sub
错误提示必选参数,,哪里错 了呀。。。 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询