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

📄 系统_日历帮助.frm

📁 新世纪ERP设备管理源代码
💻 FRM
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form XT_calendar 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "日历"
   ClientHeight    =   2610
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   4035
   ControlBox      =   0   'False
   Icon            =   "系统_日历帮助.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2610
   ScaleWidth      =   4035
   ShowInTaskbar   =   0   'False
   StartUpPosition =   1  '所有者中心
   Begin VB.CommandButton QxCommand 
      Caption         =   "取消(&C)"
      Height          =   300
      Left            =   2760
      TabIndex        =   2
      Top             =   2250
      Width           =   1120
   End
   Begin VB.CommandButton QdCommand 
      Caption         =   "确定(&O)"
      Default         =   -1  'True
      Height          =   300
      Left            =   1590
      TabIndex        =   1
      Top             =   2250
      Width           =   1120
   End
   Begin MSComCtl2.MonthView MonthView1 
      Height          =   2220
      Left            =   -30
      TabIndex        =   0
      Top             =   -30
      Width           =   4065
      _ExtentX        =   7170
      _ExtentY        =   3916
      _Version        =   393216
      ForeColor       =   -2147483630
      BackColor       =   -2147483633
      Appearance      =   1
      StartOfWeek     =   23724033
      TitleBackColor  =   16744576
      CurrentDate     =   36429
   End
End
Attribute VB_Name = "XT_calendar"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'***********************************************
'*    模 块 名 称 :系统日历帮助
'*    功 能 描 述 :
'*    程序员姓名  :张建忠
'*    最后修改人  :张建忠
'*    最后修改时间:2001/06/21
'*    备        注:封版
'***********************************************
Private Sub Form_Load()
    
    On Error GoTo Cwcl
    
    With MonthView1
        lsblte = Xtcdcs
        Do While InStr(1, lsblte, ".") <> 0
            Mid(lsblte, InStr(1, lsblte, ".")) = "/"
        Loop
        If IsDate(lsblte) Then
            .Value = CDate(lsblte)
        Else
            .Value = Xtrq
        End If
    End With
    Exit Sub
Cwcl:
    MonthView1 = Xtrq

End Sub

Private Sub MonthView1_DateDblClick(ByVal DateDblClicked As Date)        '双击日历控件返回相应日期
    
    With MonthView1
        Xtfhcs = Format(.Value, "yyyy-mm-dd")
        Unload Me
    End With

End Sub

Private Sub QdCommand_Click()                                                                     '点击确定(为了支持回车键及热键)
    
    With MonthView1
        Xtfhcs = Format(.Value, "yyyy-mm-dd")
        Unload Me
    End With

End Sub

Private Sub QdCommand_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)    '确定
    
    With MonthView1
        Xtfhcs = Format(.Value, "yyyy-mm-dd")
        Unload Me
    End With

End Sub

Private Sub QxCommand_Click()                                                                     '点击取消(为了支持回车键及热键)
    Unload Me
End Sub

Private Sub QxCommand_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)    '取消
    Unload Me
End Sub

⌨️ 快捷键说明

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