form1.frm
来自「这里有很多很实用的VB编程案例,方便大家学习VB.」· FRM 代码 · 共 62 行
FRM
62 行
VERSION 5.00
Begin VB.Form Form1
Caption = "框架"
ClientHeight = 4605
ClientLeft = 60
ClientTop = 345
ClientWidth = 5175
LinkTopic = "Form1"
ScaleHeight = 4605
ScaleWidth = 5175
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame1
Caption = "Frame1"
Height = 3375
Left = 720
TabIndex = 0
Top = 360
Width = 3615
Begin VB.CommandButton Command3
Caption = "设置框架不可见"
Height = 495
Left = 720
TabIndex = 3
Top = 2040
Width = 2655
End
Begin VB.CommandButton Command2
Caption = "设置框架无效"
Height = 495
Left = 720
TabIndex = 2
Top = 1320
Width = 2655
End
Begin VB.CommandButton Command1
Caption = "设置框架标题为“照猫画虎”"
Height = 495
Left = 720
TabIndex = 1
Top = 600
Width = 2655
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 Command1_Click()
Frame1.Caption = "照猫画虎"
End Sub
Private Sub Command2_Click()
Frame1.Enabled = False
End Sub
Private Sub Command3_Click()
Frame1.Visible = False
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?