⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form2.frm

📁 初学VB几个简单的练习程序 包括3位随机数翻转.字幕滚动等
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form2 
   BorderStyle     =   0  'None
   Caption         =   "A-2"
   ClientHeight    =   6885
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   10290
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Picture         =   "Form2.frx":0000
   ScaleHeight     =   6885
   ScaleWidth      =   10290
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  '窗口缺省
   Begin VB.Timer Timer1 
      Left            =   1440
      Top             =   4800
   End
   Begin VB.CommandButton Command2 
      Height          =   495
      Left            =   6480
      Picture         =   "Form2.frx":11621
      Style           =   1  'Graphical
      TabIndex        =   2
      ToolTipText     =   "自动"
      Top             =   1560
      Width           =   615
   End
   Begin VB.CommandButton Command1 
      Height          =   495
      Left            =   8160
      Picture         =   "Form2.frx":11A63
      Style           =   1  'Graphical
      TabIndex        =   1
      ToolTipText     =   "手动"
      Top             =   1560
      Width           =   735
   End
   Begin VB.Label Label1 
      Alignment       =   2  'Center
      BackStyle       =   0  'Transparent
      Caption         =   "我开始学习程序设计"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   21.75
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   975
      Left            =   5760
      TabIndex        =   0
      Top             =   2640
      Width           =   4215
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Image1_Click()

End Sub

Private Sub Image3_Click()


End Sub

Private Sub Command1_Click()    'shoudong
Timer1.Interval = 0
Label1.Left = Label1.Left + 50
If Label1.Left > Form2.Width Then Label1.Left = 0



End Sub

Private Sub Command2_Click()   'zidong
Timer1.Interval = 200
End Sub

Private Sub Form_Load()
Timer1.Interval = 0
End Sub

Private Sub Timer1_Timer()
Label1.Left = Label1.Left + 50
If Label1.Left > Form2.Width Then Label1.Left = 0

End Sub

⌨️ 快捷键说明

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