📄 frmfi_usuzzformulaguid.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmFI_UsuZzFormulaGuid
BorderStyle = 3 'Fixed Dialog
Caption = "自定义公式向导"
ClientHeight = 4455
ClientLeft = 45
ClientTop = 330
ClientWidth = 8505
Icon = "frmFI_UsuZzFormulaGuid.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4455
ScaleWidth = 8505
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton cmdOK
Caption = "下一步(&N)"
Default = -1 'True
Height = 345
Left = 5160
TabIndex = 1
Top = 3960
Width = 1065
End
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "取消(&C)"
Height = 345
Left = 6720
TabIndex = 0
Top = 3960
Width = 1065
End
Begin MSComctlLib.ListView lvwFormula
Height = 3735
Left = 0
TabIndex = 2
Top = 120
Width = 8415
_ExtentX = 14843
_ExtentY = 6588
LabelEdit = 1
LabelWrap = -1 'True
HideSelection = -1 'True
FullRowSelect = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 0
End
End
Attribute VB_Name = "frmFI_UsuZzFormulaGuid"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim m_sFormulaType As String
Dim m_sFormulaName As String
Public OK As Boolean
Public Property Get usFormulaType() As String
usFormulaType = m_sFormulaType
End Property
Public Property Get usFormulaName() As String
usFormulaName = m_sFormulaName
End Property
Private Sub cmdCancel_Click()
OK = False
Me.Hide
End Sub
Private Sub cmdOk_Click()
m_sFormulaType = lvwFormula.SelectedItem.SubItems(1)
m_sFormulaName = lvwFormula.SelectedItem.SubItems(2)
OK = True
Me.Hide
End Sub
Private Sub Form_Initialize()
OK = False
End Sub
Private Sub form_load()
Dim i As Integer
With lvwFormula
.View = lvwReport
With .ColumnHeaders
.Add , , "*", 400
.Add , "Type", "公式类型", 3000
.Add , "Name", "公式名称", 2500
.Add , , "备注", 3000
End With
With .ListItems
.Clear
For i = 1 To 19
.Add i
Next i
End With
.ListItems(1).SubItems(1) = "期初余额"
.ListItems(1).SubItems(2) = "QC"
.ListItems(2).SubItems(1) = "期末余额"
.ListItems(2).SubItems(2) = "QM"
.ListItems(3).SubItems(1) = "发生额"
.ListItems(3).SubItems(2) = "FS"
.ListItems(4).SubItems(1) = "发生余额"
.ListItems(4).SubItems(2) = "JFS"
.ListItems(5).SubItems(1) = "累计发生余额"
.ListItems(5).SubItems(2) = "LFS"
'==============================2002.9.10 yao revise======================================
' .ListItems(6).SubItems(1) = "借方合计"
' .ListItems(6).SubItems(2) = "JFHJ"
' .ListItems(7).SubItems(1) = "贷方合计"
' .ListItems(7).SubItems(2) = "DFHJ"
.ListItems(6).SubItems(1) = "凭证借方合计"
.ListItems(6).SubItems(2) = "JFHJ"
.ListItems(7).SubItems(1) = "凭证贷方合计"
.ListItems(7).SubItems(2) = "DFHJ"
'=========================================================================================
.ListItems(9).SubItems(1) = "期初数量"
.ListItems(9).SubItems(2) = "QCN"
.ListItems(10).SubItems(1) = "期末数量"
.ListItems(10).SubItems(2) = "QMN"
.ListItems(11).SubItems(1) = "发生数量"
.ListItems(11).SubItems(2) = "FSN"
.ListItems(12).SubItems(1) = "发生数量余额"
.ListItems(12).SubItems(2) = "JFSN"
.ListItems(13).SubItems(1) = "累计发生数量"
.ListItems(13).SubItems(2) = "LFSN"
.ListItems(15).SubItems(1) = "期初外币"
.ListItems(15).SubItems(2) = "QCW"
.ListItems(16).SubItems(1) = "期末外币"
.ListItems(16).SubItems(2) = "QMW"
.ListItems(17).SubItems(1) = "发生外币"
.ListItems(17).SubItems(2) = "FSW"
.ListItems(18).SubItems(1) = "发生外币余额"
.ListItems(18).SubItems(2) = "JFSW"
.ListItems(19).SubItems(1) = "累计发生外币"
.ListItems(19).SubItems(2) = "LFSW"
End With
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -