📄 formtuying.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "comdlg32.ocx"
Begin VB.Form Formtuxing
Caption = "图形特性"
ClientHeight = 3825
ClientLeft = 6045
ClientTop = 3210
ClientWidth = 6195
LinkTopic = "Form1"
ScaleHeight = 3825
ScaleWidth = 6195
Begin VB.CommandButton Command5
Caption = "填充颜色"
Height = 375
Left = 5160
TabIndex = 21
Top = 2520
Width = 855
End
Begin VB.CommandButton Command1
Caption = "点线颜色"
Height = 375
Left = 5160
TabIndex = 20
Top = 1800
Width = 855
End
Begin VB.CommandButton Command4
Height = 375
Index = 1
Left = 960
Picture = "Formtuying.frx":0000
Style = 1 'Graphical
TabIndex = 10
Top = 3120
Width = 735
End
Begin VB.CommandButton Command3
Height = 375
Index = 4
Left = 4080
Picture = "Formtuying.frx":11BA
Style = 1 'Graphical
TabIndex = 8
Top = 1440
Width = 975
End
Begin VB.Frame Frame3
Caption = "填充"
Height = 1335
Left = 240
TabIndex = 3
Top = 2400
Width = 4695
Begin VB.CommandButton Command4
Height = 375
Index = 10
Left = 3000
Picture = "Formtuying.frx":2784
Style = 1 'Graphical
TabIndex = 19
Top = 720
Width = 735
End
Begin VB.CommandButton Command4
Height = 375
Index = 9
Left = 2280
Picture = "Formtuying.frx":393E
Style = 1 'Graphical
TabIndex = 18
Top = 720
Width = 735
End
Begin VB.CommandButton Command4
Height = 375
Index = 8
Left = 1560
Picture = "Formtuying.frx":4AF8
Style = 1 'Graphical
TabIndex = 17
Top = 720
Width = 735
End
Begin VB.CommandButton Command4
Height = 375
Index = 7
Left = 3000
Picture = "Formtuying.frx":5CB2
Style = 1 'Graphical
TabIndex = 16
Top = 360
Width = 735
End
Begin VB.CommandButton Command4
Height = 375
Index = 6
Left = 840
Picture = "Formtuying.frx":6E6C
Style = 1 'Graphical
TabIndex = 15
Top = 720
Width = 735
End
Begin VB.CommandButton Command4
Height = 375
Index = 5
Left = 120
Picture = "Formtuying.frx":8026
Style = 1 'Graphical
TabIndex = 14
Top = 720
Width = 735
End
Begin VB.CommandButton Command4
Height = 375
Index = 4
Left = 3720
Picture = "Formtuying.frx":91E0
Style = 1 'Graphical
TabIndex = 13
Top = 360
Width = 735
End
Begin VB.CommandButton Command4
Height = 375
Index = 3
Left = 2280
Picture = "Formtuying.frx":A39A
Style = 1 'Graphical
TabIndex = 12
Top = 360
Width = 735
End
Begin VB.CommandButton Command4
Height = 375
Index = 2
Left = 1560
Picture = "Formtuying.frx":B554
Style = 1 'Graphical
TabIndex = 11
Top = 360
Width = 735
End
Begin VB.CommandButton Command4
Height = 375
Index = 0
Left = 120
Picture = "Formtuying.frx":C70E
Style = 1 'Graphical
TabIndex = 9
Top = 360
Width = 735
End
End
Begin VB.Frame Frame2
Caption = "线"
Height = 1215
Left = 240
TabIndex = 2
Top = 1080
Width = 4815
Begin VB.TextBox Text2
Height = 270
Left = 1680
TabIndex = 22
Top = 840
Width = 735
End
Begin VB.CommandButton Command3
Height = 375
Index = 3
Left = 2880
Picture = "Formtuying.frx":D8C8
Style = 1 'Graphical
TabIndex = 7
Top = 360
Width = 975
End
Begin VB.CommandButton Command3
Height = 375
Index = 2
Left = 1080
Picture = "Formtuying.frx":F512
Style = 1 'Graphical
TabIndex = 6
Top = 360
Width = 855
End
Begin VB.CommandButton Command3
Height = 375
Index = 1
Left = 1920
Picture = "Formtuying.frx":10ADC
Style = 1 'Graphical
TabIndex = 5
Top = 360
Width = 975
End
Begin VB.CommandButton Command3
Height = 375
Index = 0
Left = 240
Picture = "Formtuying.frx":124B6
Style = 1 'Graphical
TabIndex = 4
Top = 360
Width = 855
End
Begin VB.Label Label1
Caption = "请输入线的宽度:"
Height = 255
Left = 240
TabIndex = 23
Top = 840
Width = 1335
End
End
Begin VB.Frame Frame1
Caption = "点"
Height = 855
Left = 240
TabIndex = 1
Top = 120
Width = 2655
End
Begin VB.CommandButton Command2
Caption = "确定"
Height = 375
Left = 5160
TabIndex = 0
Top = 3000
Width = 855
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 5400
Top = 3480
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
End
Attribute VB_Name = "Formtuxing"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
CommonDialog1.Action = 3
color1 = CommonDialog1.color
End Sub
Private Sub Command5_Click()
CommonDialog1.Action = 3
color2 = CommonDialog1.color
End Sub
Private Sub Command2_Click()
size1 = Val(Text2.Text)
Formtuxing.Hide
End Sub
Private Sub Command3_Click(index As Integer)
If index = 0 Then
l = 0
End If
If index = 1 Then
l = 1
End If
If index = 2 Then
l = 2
End If
If index = 3 Then
l = 3
End If
If index = 4 Then
l = 4
End If
End Sub
Private Sub Command4_Click(index As Integer)
If index = 0 Then
fill = 0
End If
If index = 1 Then
fill = 1
End If
If index = 2 Then
fill = 2
End If
If index = 3 Then
fill = 3
End If
If index = 4 Then
fill = 4
End If
If index = 5 Then
fill = 5
End If
If index = 6 Then
fill = 6
End If
If index = 7 Then
fill = 7
End If
If index = 8 Then
fill = 8
End If
If index = 9 Then
fill = 9
End If
If index = 10 Then
fill = 10
End If
If index = 11 Then
fill = 11
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -