📄 frmcodelib.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.1#0"; "COMDLG32.OCX"
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.2#0"; "COMCTL32.OCX"
Begin VB.Form frmCodeLib
Caption = "VBCodeLibrary Tool"
ClientHeight = 5595
ClientLeft = 165
ClientTop = 450
ClientWidth = 8295
BeginProperty Font
Name = "Verdana"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmCodeLib.frx":0000
LinkTopic = "Form1"
ScaleHeight = 5595
ScaleWidth = 8295
StartUpPosition = 2 'CenterScreen
Begin ComctlLib.Toolbar tbTools
Align = 1 'Align Top
Height = 420
Left = 0
TabIndex = 1
Top = 0
Width = 8295
_ExtentX = 14631
_ExtentY = 741
ButtonWidth = 609
ButtonHeight = 582
AllowCustomize = 0 'False
Appearance = 1
ImageList = "ImageList1"
_Version = 327682
BeginProperty Buttons {0713E452-850A-101B-AFC0-4210102A8DA7}
NumButtons = 17
BeginProperty Button1 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = "OPENDB"
Object.ToolTipText = "Open Database"
Object.Tag = "OPENDB"
ImageKey = "OPEN"
EndProperty
BeginProperty Button2 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = "NEW"
Object.ToolTipText = "Add New Code"
Object.Tag = "NEW"
ImageKey = "NEW"
EndProperty
BeginProperty Button3 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = "DELETE"
Object.ToolTipText = "Delete Selected Code Item"
Object.Tag = "DELETE"
ImageKey = "DELETE"
EndProperty
BeginProperty Button4 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = ""
Object.Tag = ""
Style = 3
MixedState = -1 'True
EndProperty
BeginProperty Button5 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = "mnuFind"
Object.ToolTipText = "FIND"
Object.Tag = "FIND"
ImageKey = "FIND"
EndProperty
BeginProperty Button6 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = ""
Object.Tag = ""
Style = 3
MixedState = -1 'True
EndProperty
BeginProperty Button7 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = "PRINT"
Object.ToolTipText = "Print Selected Code Window"
Object.Tag = "PRINT"
ImageKey = "PRINT"
EndProperty
BeginProperty Button8 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = ""
Object.Tag = ""
Style = 3
MixedState = -1 'True
EndProperty
BeginProperty Button9 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = "VIEWBOOKMARKS"
Object.ToolTipText = "View Bookmarks"
Object.Tag = "VIEWBOOKMARKS"
ImageKey = "VIEWBOOKMARKS"
Style = 1
EndProperty
BeginProperty Button10 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = "BOOKMARK"
Object.ToolTipText = "Add Bookmark to selected Code Item"
Object.Tag = "BOOKMARK"
ImageKey = "ADDBOOKMARK"
EndProperty
BeginProperty Button11 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = ""
Object.Tag = ""
Style = 3
MixedState = -1 'True
EndProperty
BeginProperty Button12 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = "SEP1"
Object.Tag = "SEP1"
Style = 3
MixedState = -1 'True
EndProperty
BeginProperty Button13 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = "Previous"
Object.Tag = "Previous"
ImageKey = "PREVIOUS"
EndProperty
BeginProperty Button14 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = "Next"
Object.ToolTipText = "Next"
Object.Tag = "Next"
ImageKey = "NEXT"
EndProperty
BeginProperty Button15 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = ""
Object.Tag = ""
Style = 3
MixedState = -1 'True
EndProperty
BeginProperty Button16 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = "SETTINGS"
Object.ToolTipText = "Settings"
Object.Tag = "SETTINGS"
ImageKey = "SETTINGS"
EndProperty
BeginProperty Button17 {0713F354-850A-101B-AFC0-4210102A8DA7}
Key = ""
Object.Tag = ""
Style = 3
MixedState = -1 'True
EndProperty
EndProperty
End
Begin ComctlLib.ProgressBar prgBar
Height = 270
Left = 6465
TabIndex = 7
Top = 4590
Visible = 0 'False
Width = 1290
_ExtentX = 2275
_ExtentY = 476
_Version = 327682
Appearance = 1
End
Begin VB.Timer tmrDragTimer
Enabled = 0 'False
Interval = 100
Left = 7200
Top = 3885
End
Begin MSComDlg.CommonDialog CommonDialog1
Left = 3180
Top = 2400
_ExtentX = 847
_ExtentY = 847
_Version = 327681
End
Begin VB.PictureBox picSplitter
BackColor = &H00808080&
BorderStyle = 0 'None
FillColor = &H00808080&
BeginProperty Font
Name = "Tahoma"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 4800
Left = 3060
ScaleHeight = 2090.126
ScaleMode = 0 'User
ScaleWidth = 780
TabIndex = 6
Top = 0
Visible = 0 'False
Width = 72
End
Begin VB.PictureBox picSysBar
BeginProperty Font
Name = "Tahoma"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 8715
ScaleHeight = 270
ScaleWidth = 315
TabIndex = 5
Top = 6225
Visible = 0 'False
Width = 375
End
Begin ComctlLib.TreeView tvCodeItems
DragIcon = "frmCodeLib.frx":030A
Height = 3255
Left = 60
TabIndex = 0
Top = 480
Width = 2385
_ExtentX = 4207
_ExtentY = 5741
_Version = 327682
HideSelection = 0 'False
Indentation = 353
LabelEdit = 1
LineStyle = 1
Sorted = -1 'True
Style = 7
BorderStyle = 1
Appearance = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Verdana"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
OLEDropMode = 1
End
Begin ComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 315
Left = 0
TabIndex = 4
Top = 5280
Width = 8295
_ExtentX = 14631
_ExtentY = 556
SimpleText = ""
_Version = 327682
BeginProperty Panels {0713E89E-850A-101B-AFC0-4210102A8DA7}
NumPanels = 3
BeginProperty Panel1 {0713E89F-850A-101B-AFC0-4210102A8DA7}
AutoSize = 2
Key = ""
Object.Tag = ""
EndProperty
BeginProperty Panel2 {0713E89F-850A-101B-AFC0-4210102A8DA7}
AutoSize = 1
Object.Width = 5768
Key = ""
Object.Tag = ""
EndProperty
BeginProperty Panel3 {0713E89F-850A-101B-AFC0-4210102A8DA7}
Style = 5
Alignment = 2
AutoSize = 1
Object.Width = 5768
TextSave = "19:36"
Key = ""
Object.Tag = ""
EndProperty
EndProperty
End
Begin VBCodeLib.ctlBookmarks ctlBookMarkList
Height = 1365
Left = 15
TabIndex = 3
Top = 3735
Visible = 0 'False
Width = 6465
_ExtentX = 11404
_ExtentY = 2408
End
Begin VBCodeLib.ctlCodeDetails ctlCodeItemDetails
Height = 3000
Left = 3675
TabIndex = 2
Top = 555
Width = 4365
_ExtentX = 5980
_ExtentY = 4286
End
Begin VB.Image imgSplitter
Height = 4785
Left = 2625
MousePointer = 9 'Size W E
Top = 255
Width = 195
End
Begin ComctlLib.ImageList ImageList1
Left = 3015
Top = 1470
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 327682
BeginProperty Images {0713E8C2-850A-101B-AFC0-4210102A8DA7}
NumListImages = 16
BeginProperty ListImage1 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":0614
Key = "NEW"
Object.Tag = "NEW"
EndProperty
BeginProperty ListImage2 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":0726
Key = "CHILD"
Object.Tag = "CHILD"
EndProperty
BeginProperty ListImage3 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":0A40
Key = "FOLDER"
Object.Tag = "FOLDER"
EndProperty
BeginProperty ListImage4 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":0D5A
Key = "DELETE"
Object.Tag = "DELETE"
EndProperty
BeginProperty ListImage5 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":0E6C
Key = "OPENFOLDER"
Object.Tag = "OPENFOLDER"
EndProperty
BeginProperty ListImage6 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":1186
Key = "SETTINGS"
Object.Tag = "SETTINGS"
EndProperty
BeginProperty ListImage7 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":14A0
Key = "PREVIOUS"
Object.Tag = "PREVIOUS"
EndProperty
BeginProperty ListImage8 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":17F2
Key = "NEXT"
Object.Tag = "NEXT"
EndProperty
BeginProperty ListImage9 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":1B44
Key = "BAS"
Object.Tag = "BAS"
EndProperty
BeginProperty ListImage10 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":1E96
Key = "CLS"
Object.Tag = "CLS"
EndProperty
BeginProperty ListImage11 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":2158
Key = "VB"
Object.Tag = "VB"
EndProperty
BeginProperty ListImage12 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":24AA
Key = "VIEWBOOKMARKS"
Object.Tag = "VIEWBOOKMARKS"
EndProperty
BeginProperty ListImage13 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":27C4
Key = "ADDBOOKMARK"
Object.Tag = "ADDBOOKMARK"
EndProperty
BeginProperty ListImage14 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":2ADE
Key = "OPEN"
Object.Tag = "OPEN"
EndProperty
BeginProperty ListImage15 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":2BF0
Key = "PRINT"
Object.Tag = "PRINT"
EndProperty
BeginProperty ListImage16 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
Picture = "frmCodeLib.frx":2D02
Key = "FIND"
Object.Tag = "FIND"
EndProperty
EndProperty
End
Begin VB.Menu mnuFile
Caption = "&File"
Begin VB.Menu mnuNewDatabase
Caption = "&New VB CodeLibrary Database"
Enabled = 0 'False
End
Begin VB.Menu mnuOpenDatabase
Caption = "&Open VB Codelibrary Database"
End
Begin VB.Menu fsep1
Caption = "-"
End
Begin VB.Menu mnuExit
Caption = "&Exit"
End
End
Begin VB.Menu mnuEdit
Caption = "&Edit"
Begin VB.Menu mnuAddCode
Caption = "&Add New Code Here"
End
Begin VB.Menu mnuExport
Caption = "&Export Code from Here"
End
Begin VB.Menu mnuImport
Caption = "&Import Code here"
End
Begin VB.Menu mnuDeleteCode
Caption = "&Delete Selected Code Item"
End
Begin VB.Menu sep1
Caption = "-"
End
Begin VB.Menu mnuRename
Caption = "&Rename Code"
End
Begin VB.Menu sep2
Caption = "-"
End
Begin VB.Menu mnuBookMark
Caption = "&BookMark Here"
End
Begin VB.Menu mnuCount
Caption = "Coun tEm"
End
End
Begin VB.Menu mnuView
Caption = "&View"
Begin VB.Menu mnuSettings
Caption = "&Application Settings"
End
Begin VB.Menu sep3
Caption = "-"
End
Begin VB.Menu mnuViewBookMarks
Caption = "&Bookmarks"
Checked = -1 'True
End
End
Begin VB.Menu mnuHelp
Caption = "&Help"
Begin VB.Menu mnuAbout
Caption = "&About"
End
End
End
Attribute VB_Name = "frmCodeLib"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'
' VBCodeLib Form
'
' Written specially for the CodeGuru Site as a tool for developers
'
' http://www.codeguru.com/vb
'
' Chris Eastwood Feb.1999
'
' Updated March/April 1999 -
'
' Added Import/Export Items Functionality
' Added Import/Export Files Functionality
' Added Update Database Version Functionality
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -