?? sqyl.frm
字號:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{38911DA0-E448-11D0-84A3-00DD01104159}#1.1#0"; "COMCT332.OCX"
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{00028C01-0000-0000-0000-000000000046}#1.0#0"; "DBGRID32.OCX"
Begin VB.Form SQLY
BorderStyle = 1 'Fixed Single
Caption = "賒欠一覽表"
ClientHeight = 6135
ClientLeft = 690
ClientTop = 2025
ClientWidth = 9720
Icon = "SQYL.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 6135
ScaleWidth = 9720
StartUpPosition = 2 '屏幕中心
Begin ComCtl3.CoolBar CoolBar1
Align = 1 'Align Top
Height = 690
Left = 0
TabIndex = 2
Top = 0
Width = 9720
_ExtentX = 17145
_ExtentY = 1217
BandCount = 2
_CBWidth = 9720
_CBHeight = 690
_Version = "6.7.8862"
Child1 = "Toolbar1"
MinHeight1 = 630
Width1 = 3135
NewRow1 = 0 'False
MinHeight2 = 360
NewRow2 = 0 'False
Begin MSComctlLib.Toolbar Toolbar1
Height = 630
Left = 165
TabIndex = 3
Top = 30
Width = 9300
_ExtentX = 16404
_ExtentY = 1111
ButtonWidth = 1138
ButtonHeight = 1111
AllowCustomize = 0 'False
Style = 1
ImageList = "ImageList2"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 9
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Enabled = 0 'False
Object.Visible = 0 'False
Caption = "打印"
Key = "A"
Object.ToolTipText = "打印"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Enabled = 0 'False
Object.Visible = 0 'False
Caption = "預覽"
Key = "B"
Object.ToolTipText = "打印預覽"
ImageIndex = 2
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Object.Visible = 0 'False
Key = "D"
Style = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Enabled = 0 'False
Object.Visible = 0 'False
Caption = "查看"
Key = "I"
Object.ToolTipText = "查看"
ImageIndex = 6
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Object.Visible = 0 'False
Key = "J"
Style = 3
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "計算器"
Key = "K"
Object.ToolTipText = "計算器"
ImageIndex = 7
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "L"
Style = 3
EndProperty
BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "幫助"
Key = "M"
Object.ToolTipText = "幫助"
ImageIndex = 8
EndProperty
BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退出"
Key = "N"
Object.ToolTipText = "退出"
ImageIndex = 9
EndProperty
EndProperty
End
End
Begin MSComctlLib.ImageList ImageList2
Left = 6360
Top = 2640
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 26
ImageHeight = 23
MaskColor = 16777215
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 9
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "SQYL.frx":0442
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "SQYL.frx":05C6
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "SQYL.frx":0A8E
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "SQYL.frx":0F92
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "SQYL.frx":1116
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "SQYL.frx":15DE
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "SQYL.frx":1762
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "SQYL.frx":1BEE
Key = ""
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "SQYL.frx":2042
Key = ""
EndProperty
EndProperty
End
Begin MSComDlg.CommonDialog CDLTEST
Left = 6360
Top = 3240
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin MSComctlLib.ImageList ImageList1
Left = 7440
Top = 2760
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 17
ImageHeight = 15
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 4
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "SQYL.frx":24CE
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "SQYL.frx":282E
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "SQYL.frx":2BCA
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "SQYL.frx":2F7E
Key = ""
EndProperty
EndProperty
End
Begin TabDlg.SSTab SSTab1
Height = 5415
Left = 0
TabIndex = 1
Top = 720
Width = 9735
_ExtentX = 17171
_ExtentY = 9551
_Version = 393216
Style = 1
Tabs = 2
TabsPerRow = 2
TabHeight = 520
TabCaption(0) = "散客賒欠一覽"
TabPicture(0) = "SQYL.frx":34BE
Tab(0).ControlEnabled= -1 'True
Tab(0).Control(0)= "DBGrid1"
Tab(0).Control(0).Enabled= 0 'False
Tab(0).Control(1)= "Data1"
Tab(0).Control(1).Enabled= 0 'False
Tab(0).ControlCount= 2
TabCaption(1) = "團會賒欠一覽"
TabPicture(1) = "SQYL.frx":34DA
Tab(1).ControlEnabled= 0 'False
Tab(1).Control(0)= "DBGrid2"
Tab(1).Control(1)= "Data2"
Tab(1).ControlCount= 2
Begin VB.Data Data2
Caption = "Data2"
Connect = "Access"
DatabaseName = "C:\jdgl\DATA\JDGL.MDB"
DefaultCursorType= 0 '缺省游標
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = -73080
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = $"SQYL.frx":34F6
Top = 3000
Visible = 0 'False
Width = 2055
End
Begin VB.Data Data1
Caption = "Data1"
Connect = "Access"
DatabaseName = "C:\jdgl\DATA\JDGL.MDB"
DefaultCursorType= 0 '缺省游標
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 375
Left = 1080
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = $"SQYL.frx":376F
Top = 1920
Visible = 0 'False
Width = 2055
End
Begin MSDBGrid.DBGrid DBGrid1
Bindings = "SQYL.frx":39A1
Height = 4815
Left = 120
OleObjectBlob = "SQYL.frx":39B5
TabIndex = 4
Top = 480
Width = 9495
End
Begin MSDBGrid.DBGrid DBGrid2
Bindings = "SQYL.frx":48A0
Height = 4815
Left = -74880
OleObjectBlob = "SQYL.frx":48B4
TabIndex = 5
Top = 480
Width = 9495
End
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "下 欠"
Height = 255
Index = 16
Left = 10440
TabIndex = 0
Top = 5475
Width = 735
End
Begin VB.Menu MNU1
Caption = "文件(&F)"
Begin VB.Menu MNU11
Caption = "打印設(shè)置"
End
Begin VB.Menu MNU12
Caption = "打印預覽"
Enabled = 0 'False
Visible = 0 'False
End
Begin VB.Menu MNU13
Caption = "打印 "
Enabled = 0 'False
Shortcut = ^P
Visible = 0 'False
End
Begin VB.Menu MNU15
Caption = "-"
End
Begin VB.Menu MNU16
Caption = "退出(&E)"
End
End
Begin VB.Menu MNU3
Caption = "查看(&V)"
Visible = 0 'False
End
Begin VB.Menu MNU4
Caption = "計算器(&J)"
End
Begin VB.Menu MNU5
Caption = "幫助(&H)"
Begin VB.Menu MNU51
Caption = "幫助主題"
Shortcut = {F1}
End
Begin VB.Menu MNU52
Caption = "索引"
Enabled = 0 'False
End
Begin VB.Menu MNU53
Caption = "-"
End
Begin VB.Menu MNU54
Caption = "關(guān)于紅日軟件..."
End
End
Begin VB.Menu POP1
Caption = "mouse"
Visible = 0 'False
Begin VB.Menu POP11
Caption = "增加 "
End
Begin VB.Menu POP13
Caption = "-"
End
Begin VB.Menu POP12
Caption = "刪除"
End
End
End
Attribute VB_Name = "SQLY"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Data1.DatabaseName = App.Path & "\DATA\JDGL.MDB"
Data1.Refresh
Data2.DatabaseName = App.Path & "\DATA\JDGL.MDB"
Data2.Refresh
End Sub
Private Sub MNU11_Click() '打印機設(shè)置
CDLTEST.flags = cdlPDDisablePrintToFile
CDLTEST.Copies = 3
CDLTEST.PrinterDefault = True
CDLTEST.ShowPrinter
End Sub
Private Sub MNU16_Click() ' 退出模塊
Unload Me
End Sub
Private Sub MNU4_Click() ' 計算器
Dim jsq As Double
jsq = Shell("calc", vbNormalNoFocus)
End Sub
Private Sub MNU51_Click()
Shell App.Path & "\hh.exe " & App.Path & "\help.chm", vbNormalFocus
End Sub
Private Sub MNU54_Click() ' 關(guān)于對話
Load frmAbout
frmAbout.Show vbModal
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case UCase(Button.Key)
Case "K" ' 計算器
MNU4_Click
Case "M" ' 幫助
MNU51_Click
Case "N" ' 退出
Unload Me
End Select
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -