📄 frmprintreceipt.frm
字号:
VERSION 5.00
Object = "{D252F124-F62C-11D1-9ABD-444553540000}#1.0#0"; "GADATE.DLL"
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Object = "{F6125AB1-8AB1-11CE-A77F-08002B2F4E98}#2.0#0"; "MSRDC20.OCX"
Begin VB.Form frmPrintReceipt
BorderStyle = 1 'Fixed Single
Caption = "打印单据"
ClientHeight = 4590
ClientLeft = 45
ClientTop = 420
ClientWidth = 9660
HelpContextID = 20012
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4590
ScaleWidth = 9660
StartUpPosition = 2 '屏幕中心
Begin VB.ComboBox cboReceiptType
Height = 300
Left = 8160
Style = 2 'Dropdown List
TabIndex = 17
Top = 30
Visible = 0 'False
Width = 1245
End
Begin MSRDC.MSRDC datPrintReceipt
Height = 330
Left = 4230
Top = 6450
Width = 1200
_ExtentX = 2117
_ExtentY = 582
_Version = 393216
Options = 0
CursorDriver = 0
BOFAction = 0
EOFAction = 0
RecordsetType = 1
LockType = 3
QueryType = 0
Prompt = 3
Appearance = 1
QueryTimeout = 30
RowsetSize = 100
LoginTimeout = 15
KeysetSize = 0
MaxRows = 0
ErrorThreshold = -1
BatchSize = 15
BackColor = -2147483643
ForeColor = -2147483640
Enabled = -1 'True
ReadOnly = 0 'False
Appearance = -1 'True
DataSourceName = ""
RecordSource = ""
UserName = ""
Password = ""
Connect = ""
LogMessages = ""
Caption = "MSRDC1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.ComboBox CboEntryFormat
Height = 300
Left = 1050
Style = 2 'Dropdown List
TabIndex = 16
Top = 30
Width = 1065
End
Begin GACALENDARLibCtl.Calendar gacend
Height = 300
Left = 6090
OleObjectBlob = "frmPrintReceipt.frx":0000
TabIndex = 5
Top = 45
Width = 1215
End
Begin GACALENDARLibCtl.Calendar gacbegin
Height = 300
Left = 4620
OleObjectBlob = "frmPrintReceipt.frx":0089
TabIndex = 4
Top = 45
Width = 1215
End
Begin VB.ComboBox cboReceiptDate
Height = 300
ItemData = "frmPrintReceipt.frx":0112
Left = 3120
List = "frmPrintReceipt.frx":0114
Style = 2 'Dropdown List
TabIndex = 3
Top = 52
Width = 1245
End
Begin VB.CommandButton cmdPrint
Height = 350
Index = 5
Left = 8340
Style = 1 'Graphical
TabIndex = 12
Tag = "1010"
Top = 2520
UseMaskColor = -1 'True
Width = 1215
End
Begin VB.CommandButton cmdPrint
Caption = "全部取消(&U)"
Height = 350
Index = 4
Left = 8340
TabIndex = 11
Top = 2100
UseMaskColor = -1 'True
Width = 1215
End
Begin VB.CommandButton cmdPrint
Caption = "筛选单据(&S)"
Height = 350
Index = 2
Left = 8340
TabIndex = 9
Top = 1260
UseMaskColor = -1 'True
Width = 1215
End
Begin VB.CommandButton cmdPrint
Caption = "全部选择(&A)"
Height = 350
Index = 3
Left = 8340
TabIndex = 10
Top = 1680
UseMaskColor = -1 'True
Width = 1215
End
Begin VB.CommandButton cmdPrint
Default = -1 'True
Enabled = 0 'False
Height = 350
Index = 0
Left = 8340
Style = 1 'Graphical
TabIndex = 7
Tag = "1012"
Top = 420
UseMaskColor = -1 'True
Width = 1215
End
Begin VB.CommandButton cmdPrint
Cancel = -1 'True
Height = 350
Index = 1
Left = 8340
Style = 1 'Graphical
TabIndex = 8
Tag = "1002"
Top = 840
UseMaskColor = -1 'True
Width = 1215
End
Begin MSFlexGridLib.MSFlexGrid msgPrintReceipt
Bindings = "frmPrintReceipt.frx":0116
Height = 4095
Left = 60
TabIndex = 6
Top = 420
Width = 8115
_ExtentX = 14314
_ExtentY = 7223
_Version = 393216
Rows = 10
Cols = 7
FixedCols = 0
BackColorBkg = 16777215
GridColor = 16777215
GridColorFixed = 16777215
FocusRect = 0
GridLines = 0
SelectionMode = 1
FormatString = "|选择|制单日期 |单据类型 |单据编号 |单据模板 |制单人 "
End
Begin VB.ComboBox cboReceiptName
Height = 300
Left = -210
Style = 2 'Dropdown List
TabIndex = 1
Top = -180
Visible = 0 'False
Width = 330
End
Begin VB.Label Label1
Caption = "单据类型"
Height = 195
Left = 7380
TabIndex = 18
Top = 90
Visible = 0 'False
Width = 795
End
Begin VB.Label LblEntry
Caption = "凭证格式(&F)"
Height = 195
Left = 60
TabIndex = 15
Top = 90
Width = 1245
End
Begin VB.Label lblTitle
Caption = "制单日期(&D)"
Height = 225
Index = 1
Left = 2130
TabIndex = 2
Top = 90
Width = 1065
End
Begin VB.Label lblTitle
Caption = "到"
Height = 225
Index = 3
Left = 5880
TabIndex = 14
Top = 90
Width = 255
End
Begin VB.Label lblTitle
Caption = "从"
Height = 225
Index = 2
Left = 4410
TabIndex = 13
Top = 90
Width = 255
End
Begin VB.Label lblTitle
Caption = "单据类型(&R)"
Height = 225
Index = 0
Left = 30
TabIndex = 0
Top = -60
Visible = 0 'False
Width = 105
End
End
Attribute VB_Name = "frmPrintReceipt"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
''''''''''''''''''''''''''''''''''''''''''''''
'
'单据打印窗体
'
'作者:苏涛
'
'日期:1998-07-20
'
''''''''''''''''''''''''''''''''''''''''''''''
Option Explicit
Private WithEvents mclsMainControl As MainControl '主控对象
Attribute mclsMainControl.VB_VarHelpID = -1
Private WithEvents mclsSubClassform As SubClass32.SubClass '钩子对象
Attribute mclsSubClassform.VB_VarHelpID = -1
Private mclsGrid As Grid '列表对象
Private mstrID As String
Private mblnIsFormLoad As Boolean
Private mintReceiptListType As Integer '传入的单据列表类型
Private mblnIsRefreshData As Boolean '是否刷新数据
Private mStrTempDate As String
Private Const lngSaleDataBookReceiptTypeID = 20
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -