📄 mlist95.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.1#0"; "COMDLG32.OCX"
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.1#0"; "COMCTL32.OCX"
Begin VB.Form MList95
BackColor = &H80000003&
BorderStyle = 0 'None
ClientHeight = 3375
ClientLeft = -30
ClientTop = -315
ClientWidth = 7575
ControlBox = 0 'False
LinkTopic = "Form1"
ScaleHeight = 3375
ScaleWidth = 7575
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin ComctlLib.ListView List
Height = 2655
Left = 0
TabIndex = 0
Top = 0
Width = 7575
_ExtentX = 13361
_ExtentY = 4683
LabelEdit = 1
MultiSelect = -1 'True
LabelWrap = -1 'True
HideSelection = 0 'False
_Version = 327680
Icons = "ImageList1"
SmallIcons = "ImageList1"
ForeColor = 12640511
BackColor = -2147483630
BorderStyle = 1
Appearance = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
MouseIcon = "MList95.frx":0000
NumItems = 0
End
Begin MSComDlg.CommonDialog CommDial
Left = 2880
Top = 840
_ExtentX = 847
_ExtentY = 847
_Version = 327680
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 2000
Left = 1920
Top = 840
End
Begin VB.Timer Timer2
Enabled = 0 'False
Interval = 100
Left = 2400
Top = 840
End
Begin VB.Line Line1
BorderColor = &H8000000E&
X1 = 3480
X2 = 3480
Y1 = 840
Y2 = 1200
End
Begin VB.Line Line2
BorderColor = &H80000012&
X1 = 3480
X2 = 3840
Y1 = 840
Y2 = 840
End
Begin VB.Line Line3
BorderColor = &H8000000E&
X1 = 3840
X2 = 3840
Y1 = 840
Y2 = 1200
End
Begin ComctlLib.ImageList ImageList1
Left = 5040
Top = 800
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 327680
BeginProperty Images {0713E8C2-850A-101B-AFC0-4210102A8DA7}
NumListImages = 6
BeginProperty ListImage1 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "MList95.frx":001C
Key = ""
EndProperty
BeginProperty ListImage2 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "MList95.frx":0336
Key = ""
EndProperty
BeginProperty ListImage3 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "MList95.frx":0650
Key = ""
EndProperty
BeginProperty ListImage4 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "MList95.frx":096A
Key = ""
EndProperty
BeginProperty ListImage5 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "MList95.frx":0C84
Key = ""
EndProperty
BeginProperty ListImage6 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "MList95.frx":0F9E
Key = ""
EndProperty
EndProperty
End
Begin VB.Line Line4
X1 = 3480
X2 = 3840
Y1 = 1200
Y2 = 1200
End
Begin VB.Label Label8
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "删除曲目"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 210
Left = 2310
TabIndex = 7
Top = 2895
Width = 840
End
Begin VB.Label Label9
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "增加曲目"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 210
Left = 750
TabIndex = 6
Top = 2895
Width = 840
End
Begin VB.Image Image1
Height = 480
Index = 0
Left = 120
Picture = "MList95.frx":12B8
ToolTipText = "增加曲目"
Top = 2760
Width = 480
End
Begin VB.Image Image1
Height = 480
Index = 1
Left = 1740
Picture = "MList95.frx":15C2
ToolTipText = "删除曲目"
Top = 2760
Width = 480
End
Begin VB.Image Image1
Height = 480
Index = 2
Left = 3270
Picture = "MList95.frx":18CC
ToolTipText = "保存列表"
Top = 2760
Width = 480
End
Begin VB.Image Image1
Height = 480
Index = 3
Left = 4830
Picture = "MList95.frx":2196
ToolTipText = "取消"
Top = 2760
Width = 480
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "取消"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 210
Left = 5430
TabIndex = 3
Top = 2895
Width = 420
End
Begin VB.Label Label7
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "保存列表"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 210
Left = 3855
TabIndex = 2
Top = 2895
Width = 840
End
Begin VB.Label Label10
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "全部选中"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 210
Left = 6525
TabIndex = 1
Top = 2895
Width = 840
End
Begin VB.Image Image1
Height = 480
Index = 4
Left = 6000
Picture = "MList95.frx":24A0
ToolTipText = "全部选中"
Top = 2760
Width = 480
End
Begin VB.Label Label11
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "全部选中"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 6540
TabIndex = 10
Top = 2910
Width = 840
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "增加曲目"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 735
TabIndex = 9
Top = 2910
Width = 840
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "删除曲目"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 2295
TabIndex = 8
Top = 2910
Width = 840
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "保存列表"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 3870
TabIndex = 5
Top = 2910
Width = 840
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "取消"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 5445
TabIndex = 4
Top = 2910
Width = 420
End
Begin VB.Menu Menu
Caption = "Menu"
Visible = 0 'False
Begin VB.Menu Menu1
Caption = "改变表单背景"
Index = 1
End
Begin VB.Menu Menu1
Caption = "-"
Index = 2
End
Begin VB.Menu Menu1
Caption = "改变列表背景"
Index = 3
End
Begin VB.Menu Menu1
Caption = "-"
Index = 4
End
Begin VB.Menu Menu1
Caption = "改变字体颜色"
Index = 5
End
Begin VB.Menu Menu1
Caption = "-"
Index = 6
End
Begin VB.Menu Menu1
Caption = "恢复缺省设置"
Index = 7
End
End
End
Attribute VB_Name = "MList95"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Sub List_AddData()
Dim cListTreeX As ListItem
Dim i As Integer
Dim nCount As Integer
List.ColumnHeaders.Add , , "曲目序号", List.Width / 8
List.ColumnHeaders.Add , , "曲目名称", List.Width / 3
List.ColumnHeaders.Add , , "文件路径", List.Width * 8.2 / 20
List.View = lvwReport
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -