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

📄 form1.frm

📁 vb 窗体实例 都是自己的例子
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "窗体文字效果"
   ClientHeight    =   3810
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   5940
   Icon            =   "Form1.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   3810
   ScaleWidth      =   5940
   StartUpPosition =   1  '所有者中心
   Begin VB.CommandButton Command3 
      Caption         =   "退出"
      Height          =   405
      Left            =   4185
      TabIndex        =   2
      Top             =   2550
      Width           =   1695
   End
   Begin VB.CommandButton Command2 
      Caption         =   "立体效果"
      Height          =   405
      Left            =   4170
      TabIndex        =   1
      Top             =   1995
      Width           =   1695
   End
   Begin VB.CommandButton Command1 
      Caption         =   "阴影效果"
      Height          =   405
      Left            =   4170
      TabIndex        =   0
      Top             =   1455
      Width           =   1695
   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_Activate()
  ForeColor = QBColor(12)
  CurrentX = 800
  CurrentY = 1000
  FontSize = 20
  Print "阴影字"
End Sub

Private Sub Command1_Click()
'清除窗体
  Form1.Cls
  CurrentX = 800
  CurrentY = 1000
  FontSize = 20
  ForeColor = QBColor(8)
  Print "阴影字"
  CurrentX = 830
  CurrentY = 1030
  FontSize = 20
  ForeColor = QBColor(12)
  Print "阴影字"
End Sub

Private Sub Command2_Click()
  Form1.Cls
  CurrentX = 800
  CurrentY = 1000
  FontSize = 20
  ForeColor = QBColor(10)
  Print "立体字"
  CurrentX = 800
  CurrentY = 1025
  FontSize = 20
  ForeColor = QBColor(5)
  Print "立体字"
End Sub

Private Sub Command3_Click()
  End
End Sub

⌨️ 快捷键说明

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