📄 testmain.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form 万能表格
BackColor = &H00FFC0C0&
BorderStyle = 1 'Fixed Single
Caption = "自选表格打印程序"
ClientHeight = 6360
ClientLeft = 1290
ClientTop = 1515
ClientWidth = 9855
Icon = "TestMAIN.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6360
ScaleWidth = 9855
StartUpPosition = 1 '所有者中心
Begin MSAdodcLib.Adodc Adodc3
Height = 330
Left = 300
Top = 5895
Visible = 0 'False
Width = 1440
_ExtentX = 2540
_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 = "Adodc3"
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 MSAdodcLib.Adodc Adodc2
Height = 330
Left = 4560
Top = 5880
Visible = 0 'False
Width = 1440
_ExtentX = 2540
_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 = "Adodc2"
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.CommandButton Command5
Caption = "保存栏目"
Height = 270
Left = 3270
TabIndex = 32
Top = 5790
Width = 975
End
Begin VB.CommandButton Command4
Caption = "<"
Height = 510
Left = 2370
TabIndex = 11
Top = 1650
Width = 255
End
Begin VB.CommandButton Command2
Caption = ">"
Height = 510
Left = 2370
TabIndex = 10
Top = 990
Width = 255
End
Begin VB.ListBox List3
BackColor = &H00C0FFC0&
Height = 5100
Left = 2685
TabIndex = 9
Top = 495
Width = 2130
End
Begin VB.Frame Frame1
BackColor = &H00FFC0C0&
Caption = "请输入相关内容:"
Height = 5130
Left = 4965
TabIndex = 6
Top = 465
Width = 4680
Begin VB.Frame Frame5
BackColor = &H00FFC0C0&
Caption = "纸张大小"
Height = 690
Left = 105
TabIndex = 25
Top = 3900
Width = 4380
Begin VB.TextBox PAPERH
Height = 285
Left = 2775
TabIndex = 29
Top = 255
Width = 780
End
Begin VB.TextBox PAPERW
Height = 285
Left = 630
TabIndex = 28
Top = 255
Width = 780
End
Begin VB.Label Label7
BackStyle = 0 'Transparent
Caption = "cm"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 270
Left = 3615
TabIndex = 31
Top = 270
Width = 435
End
Begin VB.Label Label6
BackStyle = 0 'Transparent
Caption = "cm"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 270
Left = 1530
TabIndex = 30
Top = 270
Width = 435
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "高:"
Height = 270
Left = 2370
TabIndex = 27
Top = 300
Width = 435
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "宽:"
Height = 270
Left = 195
TabIndex = 26
Top = 285
Width = 435
End
End
Begin VB.Frame Frame4
BackColor = &H00FFC0C0&
Caption = "版面式样"
Height = 690
Left = 105
TabIndex = 22
Top = 3135
Width = 4380
Begin VB.OptionButton Option8
BackColor = &H00FFC0C0&
Caption = "竖"
Height = 330
Left = 555
TabIndex = 24
Top = 255
Width = 1410
End
Begin VB.OptionButton Option7
BackColor = &H00FFC0C0&
Caption = "横"
Height = 330
Left = 2760
TabIndex = 23
Top = 240
Value = -1 'True
Width = 1410
End
End
Begin VB.Frame Frame3
BackColor = &H00FFC0C0&
Caption = "纸张类型"
Height = 1005
Left = 120
TabIndex = 17
Top = 2040
Width = 4380
Begin VB.OptionButton Option6
BackColor = &H00FFC0C0&
Caption = "自定义大小"
Height = 330
Left = 2730
TabIndex = 21
Top = 585
Width = 1410
End
Begin VB.OptionButton Option5
BackColor = &H00FFC0C0&
Caption = "窄行连续纸"
Height = 330
Left = 555
TabIndex = 20
Top = 585
Width = 1410
End
Begin VB.OptionButton Option4
BackColor = &H00FFC0C0&
Caption = "宽行连续纸"
Height = 330
Left = 2730
TabIndex = 19
Top = 255
Value = -1 'True
Width = 1410
End
Begin VB.OptionButton Option3
BackColor = &H00FFC0C0&
Caption = "A4"
Height = 330
Left = 555
TabIndex = 18
Top = 240
Width = 1410
End
End
Begin VB.TextBox Text2
Height = 360
Left = 1140
TabIndex = 15
Text = "40"
Top = 810
Width = 615
End
Begin VB.Frame Frame2
BackColor = &H00FFC0C0&
Caption = "表格打印样式"
Height = 690
Left = 120
TabIndex = 12
Top = 1260
Width = 4380
Begin VB.OptionButton Option2
BackColor = &H00FFC0C0&
Caption = "有表格线"
Height = 330
Left = 2745
TabIndex = 14
Top = 240
Width = 1410
End
Begin VB.OptionButton Option1
BackColor = &H00FFC0C0&
Caption = "无表格线"
Height = 330
Left = 555
TabIndex = 13
Top = 255
Value = -1 'True
Width = 1410
End
End
Begin VB.TextBox Text1
Height = 360
Left = 1140
TabIndex = 8
Top = 390
Width = 3240
End
Begin VB.Label Label3
BackStyle = 0 'Transparent
Caption = "每页行数:"
Height = 315
Left = 180
TabIndex = 16
Top = 885
Width = 1380
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "表格名称:"
Height = 315
Left = 180
TabIndex = 7
Top = 465
Width = 1380
End
End
Begin VB.CommandButton Command3
BackColor = &H00C0E0FF&
Caption = "关闭"
Default = -1 'True
Height = 345
Left = 8160
Style = 1 'Graphical
TabIndex = 5
ToolTipText = "关闭本窗口"
Top = 5820
Width = 1260
End
Begin VB.ListBox List2
BackColor = &H00FFFFC0&
Height = 5100
Left = 195
TabIndex = 3
Top = 495
Width = 2130
End
Begin MSAdodcLib.Adodc Adodc1
Height = 435
Left = 225
Top = 5550
Visible = 0 'False
Width = 2205
_ExtentX = 3889
_ExtentY = 767
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 2
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 = "police"
OtherAttributes = ""
UserName = ""
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -