📄 矩形信息.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "comdlg32.ocx"
Begin VB.Form frmRec
Caption = "矩形信息"
ClientHeight = 6345
ClientLeft = 60
ClientTop = 450
ClientWidth = 7530
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form4"
ScaleHeight = 6345
ScaleWidth = 7530
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text8
Enabled = 0 'False
Height = 615
Left = 1920
TabIndex = 17
Top = 5040
Width = 2175
End
Begin VB.TextBox Text7
Enabled = 0 'False
Height = 615
Left = 1920
TabIndex = 16
Top = 4320
Width = 2055
End
Begin VB.TextBox Text6
Enabled = 0 'False
Height = 615
Left = 1920
TabIndex = 15
Top = 3600
Width = 2055
End
Begin VB.TextBox Text5
Enabled = 0 'False
Height = 615
Left = 1920
TabIndex = 14
Top = 2880
Width = 2055
End
Begin VB.TextBox Text4
Enabled = 0 'False
Height = 615
Left = 1920
TabIndex = 13
Top = 2160
Width = 2055
End
Begin VB.TextBox Text3
Enabled = 0 'False
Height = 615
Left = 1920
TabIndex = 12
Top = 1440
Width = 2055
End
Begin VB.TextBox Text2
Enabled = 0 'False
Height = 615
Left = 1920
TabIndex = 11
Top = 720
Width = 2055
End
Begin VB.TextBox Text1
Enabled = 0 'False
Height = 615
Left = 1920
TabIndex = 10
Top = 0
Width = 2055
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 5280
Top = 3600
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin VB.CommandButton Command2
Caption = "确定"
Height = 855
Left = 4560
TabIndex = 9
Top = 1920
Width = 1695
End
Begin VB.CommandButton Command1
Caption = "修改"
Height = 735
Left = 4560
TabIndex = 8
Top = 840
Width = 1575
End
Begin VB.Label Label8
Caption = " fillstyle"
Height = 615
Left = 120
TabIndex = 7
Top = 5040
Width = 1575
End
Begin VB.Label Label7
Caption = " color"
Height = 495
Left = 120
TabIndex = 6
Top = 4320
Width = 1575
End
Begin VB.Label Label6
Caption = " size"
Height = 375
Left = 120
TabIndex = 5
Top = 3720
Width = 1575
End
Begin VB.Label Label5
Caption = "point2.Y"
Height = 495
Left = 120
TabIndex = 4
Top = 3000
Width = 1575
End
Begin VB.Label Label4
Caption = "point2.X"
Height = 495
Left = 120
TabIndex = 3
Top = 2280
Width = 1455
End
Begin VB.Label Label3
Caption = "point1.Y"
Height = 495
Left = 120
TabIndex = 2
Top = 1560
Width = 1455
End
Begin VB.Label Label2
Caption = "point1.X"
Height = 495
Left = 120
TabIndex = 1
Top = 840
Width = 1335
End
Begin VB.Label Label1
Caption = " ID"
Height = 495
Left = 240
TabIndex = 0
Top = 120
Width = 1095
End
End
Attribute VB_Name = "frmRec"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Me.Text2.Enabled = True
Me.Text3.Enabled = True
Me.Text4.Enabled = True
Me.Text5.Enabled = True
Me.Text6.Enabled = True
Me.Text7.Enabled = True
Me.Text8.Enabled = True
End Sub
Private Sub Command2_Click()
RecArray(nselectidr).mvarPoint1.X = Me.Text2
RecArray(nselectidr).mvarPoint1.Y = Me.Text3
RecArray(nselectidr).mvarPoint2.X = Me.Text4
RecArray(nselectidr).mvarPoint2.Y = Me.Text5
RecArray(nselectidr).size = Me.Text6
RecArray(nselectidr).color = Me.Text7.BackColor
Form1.FillStyle = Me.Text8
RecArray(nselectidr).nFillStyle = Me.Text8
Form1.Refresh
End Sub
Private Sub Text7_click()
Me.CommonDialog1.ShowColor
Me.Text7.BackColor = CommonDialog1.color
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -