📄 frmreport_sales.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Object = "{65E121D4-0C60-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCHRT20.OCX"
Begin VB.Form frmReport_Sales
Caption = "Sales Drill-Down Report"
ClientHeight = 7050
ClientLeft = 60
ClientTop = 630
ClientWidth = 10800
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmReport_Sales.frx":0000
LinkTopic = "Form1"
ScaleHeight = 7050
ScaleWidth = 10800
WindowState = 2 'Maximized
Begin VB.PictureBox Picture1
Height = 855
Left = 3360
ScaleHeight = 795
ScaleWidth = 7275
TabIndex = 4
Top = 4680
Width = 7335
Begin MSComCtl2.FlatScrollBar FlatScrollBar1
Height = 255
Left = 0
TabIndex = 17
Top = 600
Visible = 0 'False
Width = 7335
_ExtentX = 12938
_ExtentY = 450
_Version = 393216
Arrows = 65536
Max = 14
Orientation = 8323073
End
Begin VB.TextBox txtTotal
Appearance = 0 'Flat
BackColor = &H00FF8080&
ForeColor = &H00FFFFFF&
Height = 285
Left = 120
Locked = -1 'True
TabIndex = 10
Text = "0.00"
Top = 240
Width = 1095
End
Begin VB.TextBox txtAvg
Appearance = 0 'Flat
BackColor = &H00FF8080&
ForeColor = &H00FFFFFF&
Height = 285
Left = 1320
Locked = -1 'True
TabIndex = 9
Text = "0.00"
Top = 240
Width = 1095
End
Begin VB.TextBox txtMin
Appearance = 0 'Flat
BackColor = &H00FF8080&
ForeColor = &H00FFFFFF&
Height = 285
Left = 2520
Locked = -1 'True
TabIndex = 8
Text = "0.00"
Top = 240
Width = 1095
End
Begin VB.TextBox txtMax
Appearance = 0 'Flat
BackColor = &H00FF8080&
ForeColor = &H00FFFFFF&
Height = 285
Left = 3720
Locked = -1 'True
TabIndex = 7
Text = "0.00"
Top = 240
Width = 1095
End
Begin VB.TextBox txtVar
Appearance = 0 'Flat
BackColor = &H00FF8080&
ForeColor = &H00FFFFFF&
Height = 285
Left = 4920
Locked = -1 'True
TabIndex = 6
Text = "0.00"
Top = 240
Width = 1095
End
Begin VB.TextBox txtSt
Appearance = 0 'Flat
BackColor = &H00FF8080&
ForeColor = &H00FFFFFF&
Height = 285
Left = 6120
Locked = -1 'True
TabIndex = 5
Text = "0.00"
Top = 240
Width = 1095
End
Begin VB.Label Label1
Alignment = 2 'Center
Caption = "Total"
Height = 255
Left = 120
TabIndex = 16
Top = 0
Width = 1095
End
Begin VB.Label Label2
Alignment = 2 'Center
Caption = "Average"
Height = 255
Left = 1320
TabIndex = 15
Top = 0
Width = 1095
End
Begin VB.Label Label3
Alignment = 2 'Center
Caption = "Minimum"
Height = 255
Left = 2520
TabIndex = 14
Top = 0
Width = 1095
End
Begin VB.Label Label4
Alignment = 2 'Center
Caption = "Maximum"
Height = 255
Left = 3720
TabIndex = 13
Top = 0
Width = 1095
End
Begin VB.Label Label5
Alignment = 2 'Center
Caption = "Variance"
Height = 255
Left = 4920
TabIndex = 12
Top = 0
Width = 1095
End
Begin VB.Label Label6
Alignment = 2 'Center
Caption = "St. Deviation"
Height = 255
Left = 6120
TabIndex = 11
Top = 0
Width = 1095
End
End
Begin MSChart20Lib.MSChart chart
Height = 3855
Left = 3360
OleObjectBlob = "frmReport_Sales.frx":08CA
TabIndex = 3
Top = 840
Width = 7335
End
Begin MSComctlLib.Toolbar cb
Align = 1 'Align Top
Height = 570
Left = 0
TabIndex = 2
Top = 0
Width = 10800
_ExtentX = 19050
_ExtentY = 1005
ButtonWidth = 609
ButtonHeight = 953
Appearance = 1
Style = 1
_Version = 393216
End
Begin MSComctlLib.ListView lvReport
Height = 1455
Left = 3360
TabIndex = 1
Top = 5520
Width = 7335
_ExtentX = 12938
_ExtentY = 2566
View = 3
LabelEdit = 1
LabelWrap = -1 'True
HideSelection = -1 'True
FullRowSelect = -1 'True
GridLines = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
Appearance = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
NumItems = 0
End
Begin MSComctlLib.TreeView tvReport
Height = 6135
Left = 120
TabIndex = 0
Top = 840
Width = 3135
_ExtentX = 5530
_ExtentY = 10821
_Version = 393217
LabelEdit = 1
Style = 4
SingleSel = -1 'True
Appearance = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
End
Attribute VB_Name = "frmReport_Sales"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Const CHART_TITLE = "Annual Sales"
Private Sub cb_ButtonClick(ByVal Button As MSComctlLib.Button)
With Button
chart.Plot.DataSeriesInRow = False
Select Case Button.Key
Case "LineChart"
chart.chartType = VtChChartType2dLine
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -