⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 +

📁 VB财务软件系统下载源代码提供自由下载使用学习
💻
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form frmKJYL 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "会计日历"
   ClientHeight    =   3735
   ClientLeft      =   30
   ClientTop       =   330
   ClientWidth     =   2985
   Icon            =   "会计月历.frx":0000
   LinkTopic       =   "Form3"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3735
   ScaleWidth      =   2985
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton Command1 
      Cancel          =   -1  'True
      Caption         =   "退出"
      Default         =   -1  'True
      Height          =   348
      Left            =   2010
      TabIndex        =   0
      Top             =   3315
      Width           =   948
   End
   Begin MSFlexGridLib.MSFlexGrid MsGrid1 
      Height          =   3240
      Left            =   0
      TabIndex        =   1
      Top             =   0
      Width           =   2985
      _ExtentX        =   5265
      _ExtentY        =   5715
      _Version        =   393216
      Rows            =   13
      Cols            =   3
      BackColorBkg    =   16777215
      Appearance      =   0
   End
End
Attribute VB_Name = "frmKJYL"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'软件著作权:北京用友软件(集团)有限公司
'系统名称:  资金管理8。0
'文件说明:  显示会计月历
'作者:      魏小黎
Option Explicit
Private Sub Command1_Click()
    Unload Me
End Sub

Private Sub Form_Load()
    Me.Icon = LoadResPicture(109, vbResIcon)
    Dim Lp As Byte
    With MsGrid1
        .Row = 0
        .Col = 0
        .ColSel = 2
        .FillStyle = flexFillRepeat
        .CellAlignment = 4
        
        .ColAlignment(0) = 4
        .ColAlignment(1) = 4
        .ColAlignment(2) = 4
        
        .ColWidth(0) = 500
        .ColWidth(1) = 1080
        .ColWidth(2) = 1080
        
        .RowHeight(0) = 400
        .TextMatrix(0, 0) = "期间"
        .TextMatrix(0, 1) = "开始日期"
        .TextMatrix(0, 2) = "结束日期"
    
        For Lp = 1 To 12
            .TextMatrix(Lp, 0) = Format(Lp, "00")
            .TextMatrix(Lp, 1) = Format(aClsPub.AccountYMD.AccDate(Lp - 1, 0), "yyyy.mm.dd")
            .TextMatrix(Lp, 2) = Format(aClsPub.AccountYMD.AccDate(Lp - 1, 1), "yyyy.mm.dd")
        Next Lp
        
        .Row = 1
        .Col = 1
    End With
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -