📄 form2.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "Comdlg32.ocx"
Begin VB.Form Form2
Caption = "点信息"
ClientHeight = 6315
ClientLeft = 60
ClientTop = 450
ClientWidth = 4860
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form2"
ScaleHeight = 6315
ScaleWidth = 4860
StartUpPosition = 3 '窗口缺省
Begin MSComDlg.CommonDialog CommonDialog1
Left = 1800
Top = 5280
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton Command2
Caption = "确定"
Height = 735
Left = 2400
TabIndex = 11
Top = 5400
Width = 2175
End
Begin VB.CommandButton Command1
Caption = "修改"
Height = 615
Left = 240
TabIndex = 10
Top = 5400
Width = 1695
End
Begin VB.TextBox Text5
Enabled = 0 'False
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 2520
TabIndex = 9
Top = 4200
Width = 1815
End
Begin VB.TextBox Text4
Enabled = 0 'False
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 2520
TabIndex = 3
Top = 3120
Width = 1815
End
Begin VB.TextBox Text3
Enabled = 0 'False
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 2520
TabIndex = 2
Top = 2160
Width = 1935
End
Begin VB.TextBox Text2
Enabled = 0 'False
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 2520
TabIndex = 1
Top = 1320
Width = 1935
End
Begin VB.TextBox Text1
Enabled = 0 'False
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 2520
TabIndex = 0
Top = 240
Width = 1935
End
Begin VB.Label Label5
Caption = "Color"
Height = 615
Left = 240
TabIndex = 8
Top = 4320
Width = 1935
End
Begin VB.Label Label4
Caption = "Size"
Height = 615
Left = 240
TabIndex = 7
Top = 3480
Width = 1815
End
Begin VB.Label Label3
Caption = "Y"
Height = 615
Left = 360
TabIndex = 6
Top = 2400
Width = 1815
End
Begin VB.Label Label2
Caption = "X"
Height = 615
Left = 480
TabIndex = 5
Top = 1200
Width = 1575
End
Begin VB.Label Label1
Caption = "ID"
Height = 375
Left = 480
TabIndex = 4
Top = 360
Width = 1455
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim p As New CPoint
Private Sub Command1_Click()
Me.Text2.Enabled = True
Me.Text3.Enabled = True
Me.Text4.Enabled = True
Me.Text5.Enabled = True
End Sub
Private Sub Command2_Click()
PntArray(nselectid).X = Me.Text2
PntArray(nselectid).Y = Me.Text3
PntArray(nselectid).size = Me.Text4
PntArray(nselectid).color = Me.Text5.BackColor
Form1.Refresh
End Sub
Private Sub Text5_Click()
Me.CommonDialog1.ShowColor
Me.Text5.BackColor = CommonDialog1.color
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -