📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "控件使用主界面"
ClientHeight = 4785
ClientLeft = 60
ClientTop = 450
ClientWidth = 8235
LinkTopic = "Form1"
ScaleHeight = 4785
ScaleWidth = 8235
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command3
Caption = "显示timer"
Height = 495
Left = 2400
TabIndex = 10
Top = 0
Width = 1095
End
Begin VB.CommandButton Command1
Caption = "显示combo"
Height = 495
Left = 1200
TabIndex = 9
Top = 0
Width = 1215
End
Begin VB.CommandButton Command2
Caption = "显示listbox"
Height = 495
Left = 0
TabIndex = 8
Top = 0
Width = 1215
End
Begin VB.Frame Frame2
Caption = "Frame2"
Height = 2775
Left = 4320
TabIndex = 1
Top = 1080
Width = 3375
Begin VB.OptionButton Option6
Caption = "Option6"
Height = 495
Left = 840
TabIndex = 7
Top = 1920
Width = 975
End
Begin VB.OptionButton Option5
Caption = "Option5"
Height = 375
Left = 840
TabIndex = 6
Top = 1320
Width = 975
End
Begin VB.OptionButton Option4
Caption = "Option4"
Height = 495
Left = 840
TabIndex = 5
Top = 600
Width = 1335
End
End
Begin VB.Frame Frame1
Caption = "Frame1"
Height = 2655
Left = 720
TabIndex = 0
Top = 1200
Width = 2655
Begin VB.OptionButton Option3
Caption = "Option3"
Height = 735
Left = 480
TabIndex = 4
Top = 1800
Width = 1335
End
Begin VB.OptionButton Option2
Caption = "Option2"
Height = 615
Left = 480
TabIndex = 3
Top = 1200
Width = 1695
End
Begin VB.OptionButton Option1
Caption = "Option1"
Height = 615
Left = 480
TabIndex = 2
Top = 600
Width = 1095
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
combo.Show
End Sub
Private Sub Command2_Click()
Form2.Show
End Sub
Private Sub Command3_Click()
timer.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -