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

📄 滚动的状态栏消息.frm

📁 个人VB学习源码精选,自己学习时的一些编程小程序,希望对大家有帮助
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3480
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   6150
   LinkTopic       =   "Form1"
   ScaleHeight     =   3480
   ScaleWidth      =   6150
   StartUpPosition =   3  '窗口缺省
   Begin VB.Timer Timer1 
      Left            =   1740
      Top             =   1380
   End
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   255
      Left            =   0
      TabIndex        =   0
      Top             =   3225
      Width           =   6150
      _ExtentX        =   10848
      _ExtentY        =   450
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   1
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
         EndProperty
      EndProperty
   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()
    Timer1.Interval = 100
    StatusBar1.Panels.Item(1) = "谢谢大家对本软件的支持!"
    StatusBar1.Panels(1).Tag = ""
    StatusBar1.Panels(1).Width = 3000
End Sub

Private Sub Timer1_Timer()
    With StatusBar1.Panels(1)
        If .Tag = "" Then
            .Tag = Space(.Width / TextWidth(" ")) & .Text
            .Text = .Tag
        End If
        If Len(.Text) Then
            .Text = Mid(.Text, 2)
        Else
            .Text = .Tag
        End If
    End With
End Sub

⌨️ 快捷键说明

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