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

📄 formtext.frm

📁 采用VB和MO二次开发的全国经济地理信息系统 内含开发全过程的详细文档
💻 FRM
字号:
VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form formtext 
   Caption         =   "文本"
   ClientHeight    =   4515
   ClientLeft      =   5580
   ClientTop       =   4155
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   4515
   ScaleWidth      =   4680
   Begin VB.CommandButton Command2 
      Caption         =   "确定"
      Height          =   375
      Left            =   3120
      TabIndex        =   3
      Top             =   3840
      Width           =   735
   End
   Begin MSComDlg.CommonDialog CommonDialog1 
      Left            =   3480
      Top             =   0
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
   End
   Begin VB.CommandButton Command1 
      Caption         =   "字体"
      Height          =   375
      Left            =   1680
      TabIndex        =   2
      Top             =   3840
      Width           =   735
   End
   Begin VB.TextBox Text 
      Height          =   2895
      Left            =   360
      MultiLine       =   -1  'True
      ScrollBars      =   2  'Vertical
      TabIndex        =   0
      Top             =   600
      Width           =   3735
   End
   Begin VB.Label Label1 
      Caption         =   "请输入文本"
      Height          =   375
      Left            =   360
      TabIndex        =   1
      Top             =   120
      Width           =   1935
   End
End
Attribute VB_Name = "formtext"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
 CommonDialog1.Flags = cdlCFBoth Or cdlCFEffects
 CommonDialog1.Action = 4
 Text.FontName = CommonDialog1.FontName
 Text.FontSize = CommonDialog1.FontSize
 Text.FontBold = CommonDialog1.FontBold
 Text.FontItalic = CommonDialog1.FontItalic
 Text.FontStrikethru = CommonDialog1.FontStrikethru
 Text.FontUnderline = CommonDialog1.FontUnderline
 Text.ForeColor = CommonDialog1.Color
End Sub


Private Sub Command2_Click()
tx = Text.Text
Text.Text = ""
formtext.Hide
End Sub

⌨️ 快捷键说明

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