移动字幕.frm

来自「上传的包含两个文件」· FRM 代码 · 共 51 行

FRM
51
字号
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "移动字幕"
   ClientHeight    =   4020
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   6090
   LinkTopic       =   "Form1"
   ScaleHeight     =   4020
   ScaleLeft       =   1000
   ScaleMode       =   0  'User
   ScaleWidth      =   6090
   StartUpPosition =   3  '窗口缺省
   Begin VB.Timer Timer1 
      Interval        =   100
      Left            =   360
      Top             =   480
   End
   Begin VB.Label Label1 
      Caption         =   "welcome"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   26.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   0
      TabIndex        =   0
      Top             =   1560
      Width           =   1935
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Print Label1.Left
End Sub

Private Sub Timer1_Timer()

Label1.Left = Label1.Left + 100
If Label1.Left > 7000 Then Label1.Left = 0
End Sub

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?