?? 實驗2.4.frm
字號:
VERSION 5.00
Begin VB.Form Form1
Caption = "流動字幕"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "停止"
Height = 495
Left = 2640
TabIndex = 2
Top = 1800
Width = 1335
End
Begin VB.CommandButton Command1
Caption = "啟動"
Height = 495
Left = 600
TabIndex = 1
Top = 1800
Width = 1455
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 100
Left = 720
Top = 0
End
Begin VB.Label Label1
Caption = "使用流動字幕顯示"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1320
TabIndex = 0
Top = 600
Width = 3255
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()
Timer1.Enabled = True
End Sub
Private Sub Command2_Click()
Timer1.Enabled = False
End Sub
Private Sub Timer1_Timer()
If (Form1.Width - Label1.Left) > 100 Then
Label1.Move Label1.Left + 100
Else
Label1.Move 0
End If
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -