例[6-17].frm
来自「蒋加伏主编VB程序设计第四版PPT及全部课本源码 北京邮电大学出版社 」· FRM 代码 · 共 77 行
FRM
77 行
VERSION 5.00
Begin VB.Form Form1
Caption = "例[6-17] 设置速度"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 345
ClientWidth = 3375
LinkTopic = "Form1"
ScaleHeight = 3090
ScaleWidth = 3375
StartUpPosition = 3 '窗口缺省
Begin VB.HScrollBar HScroll1
Height = 375
LargeChange = 10
Left = 360
Max = 100
SmallChange = 2
TabIndex = 2
Top = 1080
Width = 2655
End
Begin VB.TextBox Text1
Height = 615
Left = 1080
TabIndex = 1
Top = 240
Width = 1455
End
Begin VB.Label Label4
BorderStyle = 1 'Fixed Single
Height = 615
Left = 840
TabIndex = 5
Top = 2040
Width = 1695
End
Begin VB.Label Label3
Caption = "快"
Height = 375
Left = 2760
TabIndex = 4
Top = 1560
Width = 495
End
Begin VB.Label Label2
Caption = "慢"
Height = 375
Left = 360
TabIndex = 3
Top = 1560
Width = 735
End
Begin VB.Label Label1
Caption = "速度"
Height = 495
Left = 240
TabIndex = 0
Top = 360
Width = 735
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub HScroll1_Change()
Text1.Text = HScroll1.Value
End Sub
Private Sub HScroll1_Scroll()
Label4.Caption = "Moving to " & HScroll1.Value
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?