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

📄 frmfi_zzdatesel.frm

📁 一个用VB写的财务软件源码
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmFI_ZzdateSel 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "转账日期选择"
   ClientHeight    =   1365
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   3420
   Icon            =   "frmFI_ZzdateSel.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1365
   ScaleWidth      =   3420
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton cmdUndo 
      Caption         =   "取消(&U)"
      Height          =   345
      Left            =   1800
      TabIndex        =   3
      Top             =   840
      Width           =   1065
   End
   Begin VB.CommandButton cmdOK 
      Caption         =   "确定(&O)"
      Height          =   345
      Left            =   360
      TabIndex        =   2
      Top             =   840
      Width           =   1065
   End
   Begin VB.ComboBox cboRQ 
      Height          =   300
      Left            =   1440
      Style           =   2  'Dropdown List
      TabIndex        =   1
      Top             =   240
      Width           =   1575
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "转账日期(&T):"
      Height          =   180
      Left            =   240
      TabIndex        =   0
      Top             =   300
      Width           =   1170
   End
End
Attribute VB_Name = "frmFI_ZzdateSel"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public OK As Boolean
Private Sub InitRQ()
     Dim i As Integer
     Dim ishow As Integer
     cboRQ.Clear
     For i = Month(DateAdd("d", 1, glo.sUnEarlierDate)) To 12
         If i < 10 Then
             cboRQ.AddItem Trim(glo.sOperateYear) & "-0" & i
         Else
             cboRQ.AddItem Trim(glo.sOperateYear) & "-" & i
         End If
         If cboRQ.List(cboRQ.NewIndex) = Format(glo.sOperateDate, "yyyy-mm") Then
            ishow = cboRQ.NewIndex
         End If
     Next i
    cboRQ.ListIndex = ishow
End Sub

Private Sub cmdOk_Click()
        If cboRQ.ListIndex < 0 Then
           MsgBox "请选择转账日期!", vbExclamation, ""
           Exit Sub
        End If
        OK = True
        Me.Hide
End Sub

Private Sub cmdUndo_Click()
    OK = False
    Me.Hide
End Sub

Private Sub form_load()
    Call InitRQ
End Sub

⌨️ 快捷键说明

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