📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BackColor = &H80000000&
Caption = "shape属性"
ClientHeight = 1650
ClientLeft = 60
ClientTop = 345
ClientWidth = 8445
FillColor = &H00FF0000&
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Icon = "Form1.frx":0000
LinkTopic = "Form1"
ScaleHeight = 1650
ScaleWidth = 8445
StartUpPosition = 2 '屏幕中心
Begin VB.Shape Shape1
Height = 1095
Index = 6
Left = 4920
Top = 480
Visible = 0 'False
Width = 855
End
Begin VB.Shape Shape1
Height = 1095
Index = 5
Left = 4080
Top = 480
Visible = 0 'False
Width = 855
End
Begin VB.Shape Shape1
Height = 1095
Index = 4
Left = 3240
Top = 480
Visible = 0 'False
Width = 855
End
Begin VB.Shape Shape1
Height = 1095
Index = 3
Left = 2400
Top = 480
Visible = 0 'False
Width = 855
End
Begin VB.Shape Shape1
Height = 1095
Index = 2
Left = 1560
Top = 480
Visible = 0 'False
Width = 855
End
Begin VB.Shape Shape1
Height = 1095
Index = 1
Left = 720
Top = 480
Visible = 0 'False
Width = 855
End
Begin VB.Shape Shape1
Height = 1095
Index = 0
Left = -120
Top = 480
Visible = 0 'False
Width = 855
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'CODE Manger By BcodeXRose
'##################################################################
'## 过程名称:Form_Activate
'## 参数: 无
'##################################################################
Private Sub Form_Activate()
Dim i As Integer
Print " 0 1 2 3 4 5"
Shape1(0).Shape = 0
Shape1(0).FillStyle = 2
For i = 1 To 5
Shape1(i).Left = Shape1(i).Left + 750
Shape1(i).Shape = i
Shape1(i).FillStyle = i + 2
Shape1(i).Visible = True
Next i
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -