...窗体花两个命令按钮,标题分别设置为“隐藏文本框”和“显示文本框...
发布网友
发布时间:2024-10-17 17:34
我来回答
共2个回答
热心网友
时间:2024-10-30 06:16
创建标准exe 粘贴下面代码就可以了
Private Sub Command1_Click()
Text1.Visible = True
End Sub
Private Sub Command2_Click()
Text1.Visible = False
End Sub
Private Sub Form_Load()
Command1.Caption = "显示文本框"
Command2.Caption = "隐藏文本框"
End Sub
热心网友
时间:2024-10-30 06:20
Private Sub Command1_Click()
Text1.Visible = False '隐藏文本框
End Sub
Private Sub Command2_Click()
Text1.Text = "vB程序设计" '设置文本框内容
Text1.Visible = True '显示文本框
End Sub
热心网友
时间:2024-10-30 06:18
创建标准exe 粘贴下面代码就可以了
Private Sub Command1_Click()
Text1.Visible = True
End Sub
Private Sub Command2_Click()
Text1.Visible = False
End Sub
Private Sub Form_Load()
Command1.Caption = "显示文本框"
Command2.Caption = "隐藏文本框"
End Sub
热心网友
时间:2024-10-30 06:21
Private Sub Command1_Click()
Text1.Visible = False '隐藏文本框
End Sub
Private Sub Command2_Click()
Text1.Text = "vB程序设计" '设置文本框内容
Text1.Visible = True '显示文本框
End Sub