mdlmenucontrol.bas
来自「一个用VB写的财务软件源码」· BAS 代码 · 共 22 行
BAS
22 行
Attribute VB_Name = "mdlMenuControl"
Public Sub TbrControl(ByVal bol As Boolean)
With fMainForm
' .tBr.Buttons("Voucher Input").Enabled = bol
' .mnuPzInput.Enabled = bol
' .tBr.Buttons("Voucher Check").Enabled = bol
' .mnuPzCheck.Enabled = bol
' .tBr.Buttons("Account General").Enabled = bol
' .mnuAccountGeneral.Enabled = bol
' .tBr.Buttons("Account Balance").Enabled = bol
' .mnuAccountBalance.Enabled = True
' .tBr.Buttons("Account Detail").Enabled = bol
' .mnuAccountDetail.Enabled = bol
' .tBr.Buttons("Account MultiCol").Enabled = bol
' .mnuAccountMultiCol.Enabled = bol
' .tBr.Buttons("Account Book").Enabled = bol
' .mnuAccountBook.Enabled = bol
' .tBr.Buttons("Account Daily").Enabled = bol
' .mnuAccountDaily.Enabled = bol
End With
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?