📄 frmbeginendprop.frm
字号:
VERSION 5.00
Begin VB.Form frmProp
BorderStyle = 3 'Fixed Dialog
ClientHeight = 3870
ClientLeft = 45
ClientTop = 330
ClientWidth = 6240
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3870
ScaleWidth = 6240
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "取消"
Height = 345
Left = 4800
TabIndex = 4
Top = 120
Width = 1185
End
Begin VB.CommandButton cmdOK
Caption = "确定"
Height = 345
Left = 3060
TabIndex = 3
Top = 120
Width = 1185
End
Begin VB.Frame Frame1
Caption = "说明"
Height = 3015
Left = 180
TabIndex = 1
Top = 540
Width = 5865
Begin VB.TextBox txtComment
Height = 2490
Left = 180
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 2
Top = 330
Width = 5490
End
End
Begin VB.Label lblName
AutoSize = -1 'True
Caption = "名称:"
Height = 180
Left = 270
TabIndex = 0
Top = 150
Width = 540
End
End
Attribute VB_Name = "frmProp"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Const Title As String = "名称:"
Private mObj As CBENode
Public Sub Display(obj As CBENode)
Set mObj = obj
Me.txtComment.Text = mObj.Comment
Me.lblName = Title & mObj.NodeName
Me.Icon = frmMain.Icon
Me.Show vbModal
End Sub
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub cmdOK_Click()
mObj.Comment = Me.txtComment.Text
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -