📄 bb1.frm
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Object = "{0ECD9B60-23AA-11D0-B351-00A0C9055D8E}#6.0#0"; "MSHFLXGD.OCX"
Begin VB.Form Bb1
BackColor = &H80000014&
Caption = "报表"
ClientHeight = 7770
ClientLeft = 60
ClientTop = 345
ClientWidth = 11055
LinkTopic = "Form1"
ScaleHeight = 7770
ScaleWidth = 11055
WindowState = 2 'Maximized
Begin MSComDlg.CommonDialog setup
Left = 2640
Top = 3000
_ExtentX = 847
_ExtentY = 847
_Version = 393216
End
Begin MSComctlLib.ImageList ImageList1
Left = 1800
Top = 3360
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 30
ImageHeight = 25
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 5
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Bb1.frx":0000
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Bb1.frx":0112
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Bb1.frx":0564
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Bb1.frx":0AA6
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Bb1.frx":0FE8
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 765
Left = 0
TabIndex = 1
Top = 0
Width = 11055
_ExtentX = 19500
_ExtentY = 1349
ButtonWidth = 979
ButtonHeight = 1191
Appearance = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 3
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "设置"
Key = "setup"
ImageIndex = 5
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "打印"
ImageIndex = 4
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退出"
Key = "Cancel"
ImageIndex = 2
EndProperty
EndProperty
BorderStyle = 1
End
Begin MSHierarchicalFlexGridLib.MSHFlexGrid MSHFlexGrid1
Height = 3975
Left = 0
TabIndex = 0
Top = 2370
Width = 11880
_ExtentX = 20955
_ExtentY = 7011
_Version = 393216
BackColorFixed = -2147483628
BackColorBkg = -2147483628
AllowBigSelection= 0 'False
AllowUserResizing= 3
RowSizingMode = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty FontFixed {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_NumberOfBands = 1
_Band(0).Cols = 2
End
Begin VB.Label Btlab
BackStyle = 0 'Transparent
Caption = "国有资产卡片列表"
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 615
Left = 4170
TabIndex = 2
Top = 1260
Width = 3855
End
End
Attribute VB_Name = "Bb1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
'Btlab.Top = 12
P_N = "Bb1"
P_Bt = Btlab.Caption
End Sub
Private Sub Form_Resize()
Btlab.Left = (Me.ScaleWidth - Btlab.Width) / 2
MSHFlexGrid1.Top = Btlab.Top + Btlab.Height + 200
MSHFlexGrid1.Left = Me.ScaleLeft
MSHFlexGrid1.Width = Me.ScaleWidth
MSHFlexGrid1.Height = Me.ScaleHeight - MSHFlexGrid1.Top
End Sub
Private Sub MSHFlexGrid1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
With MSHFlexGrid1
If .MouseRow <> 0 Then Exit Sub
.Tag = .MouseCol
Set .MouseIcon = LoadPicture(App.Path & "\ico\hand.ico")
.MousePointer = flexCustom
.HighLight = flexHighlightNever
End With
End Sub
Private Sub MSHFlexGrid1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
With MSHFlexGrid1
If .Tag = Empty Then Exit Sub
.ColPosition(.Tag) = .MouseCol
.Tag = Empty
.MousePointer = vbDefault
.HighLight = flexHighlightAlways
End With
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
If Button.Index = 1 Then
setup.Flags = &H40
setup.ShowPrinter
End If
If Button.Index = 3 Then
Unload Me
End If
If Button.Index = 2 Then
Me.Hide
Call paper.printing(Me.MSHFlexGrid1)
paper.Show
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -