📄 frmconfig_02.frm
字号:
VERSION 5.00
Begin VB.Form frmConfig_02
Appearance = 0 'Flat
BackColor = &H80000005&
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 4575
ClientLeft = 0
ClientTop = 0
ClientWidth = 6375
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4575
ScaleWidth = 6375
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox txtBar
Appearance = 0 'Flat
BorderStyle = 0 'None
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00008000&
Height = 3015
Left = 60
MultiLine = -1 'True
ScrollBars = 3 'Both
TabIndex = 6
Top = 930
Width = 6195
End
Begin VBFriend2006.XPText XPText1
Height = 315
Left = 960
TabIndex = 7
Top = 4110
Width = 5325
_ExtentX = 9393
_ExtentY = 556
Text = ""
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = -2147483640
BackColor = -2147483643
End
Begin VB.Shape ShapeBorder
BorderColor = &H00B99D7F&
Height = 3105
Left = 30
Top = 870
Width = 6255
End
Begin VB.Label lblMsg
BackStyle = 0 'Transparent
Caption = "输入前缀:"
Height = 315
Left = 60
TabIndex = 8
Top = 4170
Width = 1365
End
Begin VB.Image imgFlag
Height = 480
Index = 0
Left = 390
Picture = "frmConfig_02.frx":0000
Top = 0
Visible = 0 'False
Width = 480
End
Begin VB.Image imgFlag
Height = 480
Index = 1
Left = 1380
Picture = "frmConfig_02.frx":0442
Top = 0
Visible = 0 'False
Width = 480
End
Begin VB.Image imgFlag
Height = 480
Index = 2
Left = 900
Picture = "frmConfig_02.frx":110C
Top = 60
Visible = 0 'False
Width = 480
End
Begin VB.Shape Shape1
BackColor = &H00E0E0E0&
BorderColor = &H00008000&
BorderStyle = 3 'Dot
Height = 675
Left = 10
Shape = 4 'Rounded Rectangle
Top = 60
Width = 6285
End
Begin VB.Label lblKey
BackStyle = 0 'Transparent
Caption = "1、"
DragMode = 1 'Automatic
ForeColor = &H00FF0000&
Height = 285
Index = 0
Left = 90
MousePointer = 99 'Custom
TabIndex = 5
Top = 150
Width = 2505
End
Begin VB.Label lblKey
BackStyle = 0 'Transparent
Caption = "1、"
DragMode = 1 'Automatic
ForeColor = &H00FF0000&
Height = 285
Index = 1
Left = 2340
MousePointer = 99 'Custom
OLEDropMode = 1 'Manual
TabIndex = 4
Top = 150
Width = 1965
End
Begin VB.Label lblKey
BackStyle = 0 'Transparent
Caption = "1、"
DragMode = 1 'Automatic
ForeColor = &H00FF0000&
Height = 285
Index = 2
Left = 4200
MousePointer = 99 'Custom
OLEDropMode = 1 'Manual
TabIndex = 3
Top = 150
Width = 2505
End
Begin VB.Label lblKey
BackStyle = 0 'Transparent
Caption = "1、"
DragMode = 1 'Automatic
ForeColor = &H00FF0000&
Height = 285
Index = 3
Left = 90
MousePointer = 99 'Custom
OLEDropMode = 1 'Manual
TabIndex = 2
Top = 450
Width = 2505
End
Begin VB.Label lblKey
BackStyle = 0 'Transparent
Caption = "1、"
DragMode = 1 'Automatic
ForeColor = &H00FF0000&
Height = 285
Index = 4
Left = 2340
MousePointer = 99 'Custom
OLEDropMode = 1 'Manual
TabIndex = 1
Top = 450
Width = 1965
End
Begin VB.Label lblKey
BackStyle = 0 'Transparent
Caption = "1、"
DragMode = 1 'Automatic
ForeColor = &H00FF0000&
Height = 285
Index = 5
Left = 4200
MousePointer = 99 'Custom
OLEDropMode = 1 'Manual
TabIndex = 0
Top = 450
Width = 2505
End
End
Attribute VB_Name = "frmConfig_02"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'*************************************************************************
'**函 数 名:Form_Load
'**输 入:无
'**输 出:无
'**功能描述:
'**全局变量:
'**调用模块:
'**作 者:叶帆
'**日 期:2005-10-18 11:49:08
'**修 改 人:
'**日 期:
'**版 本:V1.0.0
'*************************************************************************
Public Sub Form_Load()
Dim i As Long
Me.Move 0, 0
For i = 0 To 5
lblKey(i).DragIcon = imgFlag(0).Picture
lblKey(i).MouseIcon = imgFlag(1).Picture
Next
If Me.Tag = "0" Then
lblKey(0).Caption = "1、模块名称:%ModuleName%"
lblKey(0).Tag = "%ModuleName%"
lblKey(1).Caption = "2、作 者:%Writer%"
lblKey(1).Tag = "%Writer%"
lblKey(2).Caption = "3、版权日期:%DateYear%"
lblKey(2).Tag = "%DateYear%"
lblKey(3).Caption = "4、公司名称:%Company%"
lblKey(3).Tag = "%Company%"
lblKey(4).Caption = "5、创建日期:%Date%"
lblKey(4).Tag = "%Date%"
lblKey(5).Caption = "6、版 本:%Version%"
lblKey(5).Tag = "%Version%"
txtBar.Height = 3525
ShapeBorder.Height = 3620
Else
lblKey(0).Caption = "1、函数名称:%Func..Name%"
lblKey(0).Tag = "%FunctionName%"
lblKey(1).Caption = "2、输入参数:%Input%"
lblKey(1).Tag = "%Input%"
lblKey(2).Caption = "3、函数输出:%OutPut%"
lblKey(2).Tag = "%OutPut%"
lblKey(3).Caption = "4、作 者:%Writer%"
lblKey(3).Tag = "%Writer%"
lblKey(4).Caption = "5、创建日期:%Date%"
lblKey(4).Tag = "%Date%"
lblKey(5).Caption = "6、版 本:%Version%"
lblKey(5).Tag = "%Version%"
txtBar.Height = 3015
ShapeBorder.Height = 3105
End If
End Sub
'*************************************************************************
'**函 数 名:SaveValue
'**输 入:无
'**输 出:无
'**功能描述:保存参数
'**全局变量:
'**调用模块:
'**作 者:叶帆
'**日 期:2005-11-10 10:50:20
'**修 改 人:
'**日 期:
'**版 本:V1.0.0
'*************************************************************************
Public Sub SaveValue()
End Sub
'*************************************************************************
'**函 数 名:ResumeValue
'**输 入:无
'**输 出:无
'**功能描述:恢复参数
'**全局变量:
'**调用模块:
'**作 者:叶帆
'**日 期:2005-11-10 10:52:05
'**修 改 人:
'**日 期:
'**版 本:V1.0.0
'*************************************************************************
Public Sub ResumeValue()
End Sub
'*************************************************************************
'**函 数 名:txtBar_DragDrop
'**输 入:Source(Control) -
'** :X(Single) -
'** :Y(Single) -
'**输 出:无
'**功能描述:接收数据
'**全局变量:
'**调用模块:
'**作 者:叶帆
'**日 期:2004-07-09
'**修 改 人:
'**日 期:
'**版 本:V1.0
'*************************************************************************
Private Sub txtBar_DragDrop(Source As Control, X As Single, Y As Single)
If TypeName(Source) = "Label" Then
txtBar.SelText = Source.Tag
Source.DragIcon = imgFlag(0).Picture
End If
End Sub
'*************************************************************************
'**函 数 名:txtBar_DragOver
'**输 入:Source(Control) -
'** :X(Single) -
'** :Y(Single) -
'** :State(Integer) -
'**输 出:无
'**功能描述:
'**全局变量:
'**调用模块:
'**作 者:叶帆
'**日 期:2004-07-11
'**修 改 人:
'**日 期:
'**版 本:V1.0
'*************************************************************************
Private Sub txtBar_DragOver(Source As Control, X As Single, Y As Single, State As Integer)
If TypeName(Source) = "Label" Then
If State = 1 Then
Source.DragIcon = imgFlag(0).Picture
Else
Source.DragIcon = imgFlag(2).Picture
End If
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -