例[9-1].frm
来自「蒋加伏主编VB程序设计第四版PPT及全部课本源码 北京邮电大学出版社 」· FRM 代码 · 共 43 行
FRM
43 行
VERSION 5.00
Begin VB.Form Form1
Caption = "例[9-1] 标签的显示和隐藏"
ClientHeight = 3195
ClientLeft = 165
ClientTop = 735
ClientWidth = 3675
LinkTopic = "Form1"
ScaleHeight = 3195
ScaleWidth = 3675
StartUpPosition = 3 '窗口缺省
Begin VB.Label Label1
BorderStyle = 1 'Fixed Single
Caption = "欢迎使用VB6.0"
Height = 495
Left = 1800
TabIndex = 0
Top = 2040
Width = 1575
End
Begin VB.Menu M1
Caption = "操作"
Begin VB.Menu Show
Caption = "显示"
End
Begin VB.Menu Hide
Caption = "隐藏"
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Hide_Click()
Label1.Visible = False
End Sub
Private Sub Show_Click()
Label1.Visible = True
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?