📄 frm_userlabel.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{C932BA88-4374-101B-A56C-00AA003668DC}#1.1#0"; "MSMASK32.OCX"
Begin VB.Form frm_printlabel
BorderStyle = 1 'Fixed Single
Caption = "用户标签打印窗口"
ClientHeight = 4890
ClientLeft = 45
ClientTop = 330
ClientWidth = 9600
Icon = "frm_userlabel.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4890
ScaleWidth = 9600
Begin VB.ComboBox Combo_vill
Appearance = 0 'Flat
Height = 300
Left = 840
TabIndex = 1
Top = 960
Width = 1335
End
Begin VB.CommandButton cmd_print
Caption = "打印输出(&P)"
Height = 350
Left = 3960
TabIndex = 9
Top = 4440
Width = 1695
End
Begin VB.CommandButton cmd_close
Caption = "关闭窗口(&C)"
Height = 350
Left = 7680
TabIndex = 10
Top = 4440
Width = 1695
End
Begin VB.Frame Frame1
Height = 975
Left = 120
TabIndex = 16
Top = 360
Width = 2175
Begin VB.ComboBox Combo_town
Appearance = 0 'Flat
Height = 300
Left = 720
TabIndex = 0
Top = 240
Width = 1335
End
Begin MSAdodcLib.Adodc Adotemp
Height = 330
Left = 2280
Top = 240
Visible = 0 'False
Width = 1200
_ExtentX = 2117
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 8
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = ""
OLEDBString = ""
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = ""
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "乡镇"
Height = 180
Left = 120
TabIndex = 18
Top = 240
Width = 360
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "村名"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 210
Left = 120
TabIndex = 17
Top = 600
Width = 420
End
End
Begin VB.OptionButton Option1
Caption = "直接输入村名"
Height = 255
Left = 120
TabIndex = 2
Top = 1440
Width = 2175
End
Begin VB.TextBox txt_vill
Appearance = 0 'Flat
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 345
Left = 120
TabIndex = 3
Top = 1800
Width = 2175
End
Begin VB.Frame Frame2
Caption = "打印范围"
Height = 2055
Left = 120
TabIndex = 12
Top = 2280
Width = 2175
Begin VB.OptionButton Option2
Caption = "全部打印"
Height = 255
Left = 240
TabIndex = 4
Top = 240
Value = -1 'True
Width = 1695
End
Begin VB.OptionButton Option3
Caption = "部分打印"
Height = 255
Left = 240
TabIndex = 5
Top = 600
Width = 1455
End
Begin VB.Frame Frame3
Height = 1095
Left = 120
TabIndex = 13
Top = 840
Width = 1935
Begin MSMask.MaskEdBox txt_to
Height = 300
Left = 720
TabIndex = 7
Top = 600
Width = 1095
_ExtentX = 1931
_ExtentY = 529
_Version = 393216
ClipMode = 1
Appearance = 0
AllowPrompt = -1 'True
Enabled = 0 'False
MaxLength = 4
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Format = "0"
PromptChar = "_"
End
Begin MSMask.MaskEdBox txt_from
Height = 300
Left = 720
TabIndex = 6
Top = 240
Width = 1095
_ExtentX = 1931
_ExtentY = 529
_Version = 393216
ClipMode = 1
Appearance = 0
AllowPrompt = -1 'True
Enabled = 0 'False
MaxLength = 4
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Format = "0"
PromptChar = "_"
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "从N&o."
Height = 180
Left = 120
TabIndex = 15
Top = 240
Width = 450
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "到N&o."
Height = 180
Left = 120
TabIndex = 14
Top = 600
Width = 450
End
End
End
Begin VB.CommandButton cmd_find
Caption = "开始检索(&F)"
Height = 350
Left = 240
TabIndex = 8
Top = 4440
Width = 1695
End
Begin VB.OptionButton Option4
Caption = "选 择"
Height = 255
Left = 240
TabIndex = 11
Top = 120
Value = -1 'True
Width = 1095
End
Begin MSComctlLib.ListView ListView
Height = 4215
Left = 2400
TabIndex = 19
Top = 120
Width = 7095
_ExtentX = 12515
_ExtentY = 7435
LabelWrap = -1 'True
HideSelection = -1 'True
FullRowSelect = -1 'True
GridLines = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
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
NumItems = 0
End
End
Attribute VB_Name = "frm_printlabel"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public xiang As String
Public zhen As String
Private Sub adotemp_Error(ByVal ErrorNumber As Long, Description As String, ByVal Scode As Long, ByVal Source As String, ByVal HelpFile As String, ByVal HelpContext As Long, fCancelDisplay As Boolean)
MsgBox "数据库连接失败!!!", vbInformation
fCancelDisplay = True
Unload Me
End Sub
Private Sub cmd_close_Click()
Unload Me
End Sub
Private Sub cmd_find_Click()
Dim i As Integer
Dim xitem As ListItem
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -