【VB开源代码栏目提醒】:网学会员鉴于大家对VB开源代码十分关注,论文会员在此为大家搜集整理了“4.1.3.frm”一文,供大家参考学习
VERSION 5.00
Begin VB.Form Form4
Caption = "Form4"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form4"
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
End
Attribute VB_Name = "Form4"
Attribute
VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Click()
Dim a As String
a = InputBox("请输入a的值", "示例")
Print a
'Print方法输出
MsgBox "a=" & a
'MsgBox函数输出
Label1.Caption = a
'标签控件输出
End Sub