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

📄 practice2-10.frm

📁 深圳大学的vb上机与教学的课件
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "控制文字的字形、字号、效果"
   ClientHeight    =   2205
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   4725
   LinkTopic       =   "Form1"
   ScaleHeight     =   2205
   ScaleWidth      =   4725
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command6 
      Caption         =   "斜体"
      Height          =   375
      Left            =   3600
      TabIndex        =   6
      Top             =   1560
      Width           =   855
   End
   Begin VB.CommandButton Command5 
      Caption         =   "粗体"
      Height          =   375
      Left            =   2520
      TabIndex        =   5
      Top             =   1560
      Width           =   855
   End
   Begin VB.CommandButton Command4 
      Caption         =   "删除线"
      Height          =   375
      Left            =   3600
      TabIndex        =   4
      Top             =   960
      Width           =   855
   End
   Begin VB.CommandButton Command3 
      Caption         =   "下划线"
      Height          =   375
      Left            =   2520
      TabIndex        =   3
      Top             =   960
      Width           =   855
   End
   Begin VB.CommandButton Command2 
      Caption         =   "缩小"
      Height          =   375
      Left            =   3600
      TabIndex        =   2
      Top             =   360
      Width           =   855
   End
   Begin VB.CommandButton Command1 
      Caption         =   "增大"
      Height          =   375
      Left            =   2520
      TabIndex        =   1
      Top             =   360
      Width           =   855
   End
   Begin VB.TextBox Text1 
      Height          =   1575
      Left            =   240
      MultiLine       =   -1  'True
      ScrollBars      =   2  'Vertical
      TabIndex        =   0
      Text            =   "practice2-10.frx":0000
      Top             =   360
      Width           =   2055
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
  Text1.FontSize = Text1.FontSize + 5
End Sub

Private Sub Command2_Click()
  Text1.FontSize = Text1.FontSize - 5
End Sub

Private Sub Command3_Click()
  Text1.FontUnderline = True
End Sub

Private Sub Command4_Click()
  Text1.FontStrikethru = True
End Sub

Private Sub Command5_Click()
  Text1.FontBold = True
End Sub

Private Sub Command6_Click()
  Text1.FontItalic = True
End Sub

⌨️ 快捷键说明

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