5.9.frm
来自「VB6.0应用例题」· FRM 代码 · 共 51 行
FRM
51 行
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form Form1
Caption = "引用外部控件示例"
ClientHeight = 1740
ClientLeft = 60
ClientTop = 345
ClientWidth = 3690
LinkTopic = "Form1"
ScaleHeight = 1740
ScaleWidth = 3690
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "输出"
Height = 375
Left = 360
TabIndex = 2
Top = 1080
Width = 855
End
Begin MSComCtl2.DTPicker DTPicker1
Height = 375
Left = 1440
TabIndex = 1
Top = 240
Width = 1815
_ExtentX = 3201
_ExtentY = 661
_Version = 393216
Format = 26804225
CurrentDate = 37742
End
Begin VB.Label Label1
Caption = "订票日期:"
Height = 375
Left = 360
TabIndex = 0
Top = 360
Width = 1095
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
MsgBox "你的订票日期是" & DTPicker1.Value, vbOKOnly, "输出"
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?