?? calender.frm
字號:
VERSION 5.00
Object = "{8E27C92E-1264-101C-8A2F-040224009C02}#7.0#0"; "MSCAL.OCX"
Begin VB.Form calender
BorderStyle = 1 'Fixed Single
Caption = "Calender"
ClientHeight = 3690
ClientLeft = 45
ClientTop = 435
ClientWidth = 5280
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3690
ScaleWidth = 5280
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton cmdToday
Caption = "Today"
Height = 435
Left = 180
TabIndex = 3
Top = 3150
Width = 1275
End
Begin VB.CommandButton cmdNo
Appearance = 0 'Flat
Caption = "Cancel"
Height = 435
Left = 3825
TabIndex = 2
Top = 3165
Width = 1275
End
Begin VB.CommandButton cmdOK
Caption = "Ok"
Height = 435
Left = 2002
TabIndex = 1
Top = 3165
Width = 1275
End
Begin MSACAL.Calendar calender
Height = 3135
Left = 0
TabIndex = 0
Top = 0
Width = 5295
_Version = 524288
_ExtentX = 9340
_ExtentY = 5530
_StockProps = 1
BackColor = -2147483633
Year = 2002
Month = 8
Day = 17
DayLength = 1
MonthLength = 2
DayFontColor = 0
FirstDay = 1
GridCellEffect = 1
GridFontColor = 10485760
GridLinesColor = -2147483632
ShowDateSelectors= -1 'True
ShowDays = -1 'True
ShowHorizontalGrid= -1 'True
ShowTitle = -1 'True
ShowVerticalGrid= -1 'True
TitleFontColor = 10485760
ValueIsNull = 0 'False
BeginProperty DayFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty GridFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty TitleFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Arial"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
End
Attribute VB_Name = "calender"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public iDate As Date
Public DateChanged As Boolean
Private Sub calender_Click()
On Error Resume Next
iDate = Me.calender.Value
End Sub
Private Sub calender_DblClick()
On Error Resume Next
iDate = Me.calender.Value
DateChanged = True
Unload Me
End Sub
Private Sub cmdNo_Click()
On Error Resume Next
DateChanged = False
Unload Me
End Sub
Private Sub cmdOK_Click()
On Error Resume Next
iDate = Me.calender.Value
DateChanged = True
Unload Me
End Sub
Private Sub cmdToday_Click()
On Error Resume Next
Me.calender.Value = Date
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -