📄 form1.frm属性.frm
字号:
Height = 315
Left = 1560
TabIndex = 44
Top = 3540
Width = 1815
End
Begin VB.Label Label21
Caption = "模板: "
Height = 315
Left = 240
TabIndex = 43
Top = 3600
Width = 1275
End
Begin VB.Label Label20
Caption = "超级连接基础(H):"
Height = 435
Left = 240
TabIndex = 41
Top = 3180
Width = 1035
End
Begin VB.Label Label19
Caption = "备注(C):"
Height = 315
Left = 180
TabIndex = 39
Top = 2460
Width = 1095
End
Begin VB.Label Label18
Caption = "关键词(K):"
Height = 255
Left = 180
TabIndex = 37
Top = 2160
Width = 1275
End
Begin VB.Label Label17
Caption = "类 别(E):"
Height = 315
Left = 180
TabIndex = 35
Top = 1920
Width = 1095
End
Begin VB.Label Label16
Caption = "单位(O):"
Height = 315
Left = 180
TabIndex = 28
Top = 1500
Width = 1155
End
Begin VB.Label Label15
Caption = "经理(M):"
Height = 195
Left = 180
TabIndex = 27
Top = 1200
Width = 1035
End
Begin VB.Label Label14
Caption = "作者(A):"
Height = 255
Left = 180
TabIndex = 26
Top = 900
Width = 1095
End
Begin VB.Label Label13
Caption = "主题(S):"
Height = 315
Left = 180
TabIndex = 25
Top = 600
Width = 1035
End
Begin VB.Label Label2
Caption = "标题(T):"
Height = 255
Left = 180
TabIndex = 4
Top = 300
Width = 1035
End
End
Begin VB.Frame Frame1
Caption = "常规"
Height = 3975
Left = 180
TabIndex = 1
Top = 1620
Width = 5655
Begin VB.CheckBox Check4
Caption = "系统"
Height = 315
Left = 2400
TabIndex = 24
Top = 3240
Width = 735
End
Begin VB.CheckBox Check3
Caption = "档案"
Height = 255
Left = 1200
TabIndex = 23
Top = 3300
Width = 795
End
Begin VB.CheckBox Check2
Caption = "隐藏"
Height = 375
Left = 2400
TabIndex = 22
Top = 2880
Width = 1035
End
Begin VB.CheckBox Check1
Caption = "只读"
Height = 255
Left = 1200
TabIndex = 21
Top = 2940
Width = 795
End
Begin VB.Frame Frame8
Height = 120
Left = 120
TabIndex = 19
Top = 2640
Width = 5235
End
Begin VB.Frame Frame7
Height = 75
Left = 120
TabIndex = 14
Top = 1440
Width = 5355
End
Begin VB.Frame Frame6
Height = 75
Left = 120
TabIndex = 12
Top = 480
Width = 5295
End
Begin VB.Label Label12
Caption = "属性:"
Height = 315
Left = 180
TabIndex = 20
Top = 2880
Width = 795
End
Begin VB.Label Label11
Caption = "存取时间:"
Height = 375
Left = 180
TabIndex = 18
Top = 2460
Width = 1635
End
Begin VB.Label Label10
Caption = "修改时间:"
Height = 255
Left = 180
TabIndex = 17
Top = 2220
Width = 1455
End
Begin VB.Label Label9
Caption = "创建时间:"
Height = 255
Left = 180
TabIndex = 16
Top = 1980
Width = 1335
End
Begin VB.Label Label8
Caption = "MS-DOS文件名:"
Height = 315
Left = 180
TabIndex = 15
Top = 1740
Width = 1395
End
Begin VB.Label Label7
AutoSize = -1 'True
Caption = "位置:"
Height = 195
Left = 180
TabIndex = 13
Top = 1200
Width = 540
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "大小:"
Height = 195
Left = 180
TabIndex = 11
Top = 960
Width = 540
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "类型:"
Height = 195
Left = 180
TabIndex = 2
Top = 660
Width = 540
End
End
Begin MSComctlLib.TabStrip TabStrip1
Height = 4995
Left = 60
TabIndex = 0
Top = 900
Width = 6135
_ExtentX = 10821
_ExtentY = 8811
_Version = 393216
BeginProperty Tabs {1EFB6598-857C-11D1-B16A-00C0F0283628}
NumTabs = 5
BeginProperty Tab1 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "常 规"
Key = "general"
ImageVarType = 2
EndProperty
BeginProperty Tab2 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "摘要信息"
Key = "abstract"
ImageVarType = 2
EndProperty
BeginProperty Tab3 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "统计信息"
Key = "stat"
ImageVarType = 2
EndProperty
BeginProperty Tab4 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "内 容"
Key = "content"
ImageVarType = 2
EndProperty
BeginProperty Tab5 {1EFB659A-857C-11D1-B16A-00C0F0283628}
Caption = "自定义"
Key = "custom"
ImageVarType = 2
EndProperty
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "华文细黑"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
End
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Command3_Click()
listview1.TextBackground = Trim(Text11.SelText)
listview1.TextBackground = Trim(Text12.SelText)
listview1.TextBackground = Trim(Combo1.ListIndex)
Trim (Text11.Text), tvwChild, "", "" & ""
Trim (Text12.Text), tvwChild, "", "" & ""
Trim (Combo1.ListIndex), tvwChild, "", "" & ""
Nodedep = TvwDep.Nodes.Add(Trim(), tvwChild, "", "" & "")
Nodedep.Tag = "" & TempStr & ""
TvwDep.Nodes.Item("" & NoDep & "").Selected = True
TvwDep.Refresh
TxtDepName.Text = Trim(TvwDep.SelectedItem.Text)
txtdepaddr.Text = unitaddr
txtpostcode.Text = postcode
NodeSel = TvwDep.Nodes("" & NoDep & "").Key
End Sub
Private Sub Command4_Click()
listview1.ListItems = ""
End Sub
Private Sub Form_Load()
Dim itmx As ListItem
Set itmx = ListView2.ListItems.Add(1, "页数", "页数")
'itmx.SubItems(ListView2.ColumnHeaders("值").SubItemIndex) = ""
Set itmx = ListView2.ListItems.Add(2, "段落", "段落")
Set itmx = ListView2.ListItems.Add(3, "行数", "行数")
Set itmx = ListView2.ListItems.Add(4, "字数", "字数")
Set itmx = ListView2.ListItems.Add(5, "字符数", "字符数")
Frame1.Left = TabStrip1.ClientLeft
Frame1.Top = TabStrip1.ClientTop
Frame1.Width = TabStrip1.ClientWidth
Frame1.Height = TabStrip1.ClientHeight
Frame2.Left = TabStrip1.ClientLeft
Frame2.Top = TabStrip1.ClientTop
Frame2.Width = TabStrip1.ClientWidth
Frame2.Height = TabStrip1.ClientHeight
Frame3.Left = TabStrip1.ClientLeft
Frame3.Top = TabStrip1.ClientTop
Frame3.Width = TabStrip1.ClientWidth
Frame3.Height = TabStrip1.ClientHeight
Frame4.Left = TabStrip1.ClientLeft
Frame4.Top = TabStrip1.ClientTop
Frame4.Width = TabStrip1.ClientWidth
Frame4.Height = TabStrip1.ClientHeight
Frame5.Left = TabStrip1.ClientLeft
Frame5.Top = TabStrip1.ClientTop
Frame5.Width = TabStrip1.ClientWidth
Frame5.Height = TabStrip1.ClientHeight
Frame1.Visible = True
Frame2.Visible = False
Frame3.Visible = False
Frame4.Visible = False
Frame5.Visible = False
With Combo1
.AddItem "文本"
.AddItem "日期"
.AddItem "数字"
.AddItem "是或否"
End With
End Sub
Private Sub List1_Click()
Text11.Text = List1.List(List1.ListIndex)
End Sub
Private Sub TabStrip1_Click()
Select Case TabStrip1.SelectedItem.Key
Case "general"
Frame1.Visible = True
Frame2.Visible = False
Frame3.Visible = False
Frame4.Visible = False
Frame5.Visible = False
Case "abstract"
Frame1.Visible = False
Frame2.Visible = True
Frame3.Visible = False
Frame4.Visible = False
Frame5.Visible = False
Case "stat"
Frame1.Visible = False
Frame2.Visible = False
Frame3.Visible = True
Frame4.Visible = False
Frame5.Visible = False
Case "content"
Frame1.Visible = False
Frame2.Visible = False
Frame3.Visible = False
Frame4.Visible = True
Frame5.Visible = False
Case "custom"
Frame1.Visible = False
Frame2.Visible = False
Frame3.Visible = False
Frame4.Visible = False
Frame5.Visible = True
End Select
End Sub
Private Sub Text10_Change()
Text10.Text = LCase(Text10.Text)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -