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

📄 edit.frm

📁 自动排版程序
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form2 
   Appearance      =   0  'Flat
   BackColor       =   &H80000005&
   Caption         =   "编辑信息"
   ClientHeight    =   8340
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   8685
   LinkTopic       =   "Form2"
   MaxButton       =   0   'False
   ScaleHeight     =   8340
   ScaleWidth      =   8685
   StartUpPosition =   3  '窗口缺省
   Begin VB.TextBox txtTitle 
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "幼圆"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   285
      Left            =   1800
      TabIndex        =   10
      Top             =   180
      Width           =   5775
   End
   Begin VB.TextBox txtSource 
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "幼圆"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   285
      Left            =   1800
      TabIndex        =   9
      Top             =   600
      Width           =   5775
   End
   Begin VB.CommandButton cmdQC 
      Caption         =   "清  除"
      Height          =   375
      Left            =   300
      TabIndex        =   8
      Top             =   6720
      Width           =   1155
   End
   Begin VB.CommandButton cmdTJ 
      Caption         =   "编辑完成"
      Height          =   375
      Left            =   300
      TabIndex        =   7
      Top             =   6060
      Width           =   1155
   End
   Begin VB.Frame famClass 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      Caption         =   "类别:"
      ForeColor       =   &H80000008&
      Height          =   2895
      Left            =   300
      TabIndex        =   1
      Top             =   1740
      Width           =   1335
      Begin VB.OptionButton optHGDX 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "宏观动向"
         ForeColor       =   &H80000008&
         Height          =   195
         Left            =   120
         TabIndex        =   6
         Top             =   300
         Width           =   1035
      End
      Begin VB.OptionButton optZHBD 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "综合报道"
         ForeColor       =   &H80000008&
         Height          =   195
         Left            =   120
         TabIndex        =   5
         Top             =   1785
         Width           =   1035
      End
      Begin VB.OptionButton optZXCX 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "综信采撷"
         ForeColor       =   &H80000008&
         Height          =   180
         Left            =   120
         TabIndex        =   4
         Top             =   2280
         Width           =   1095
      End
      Begin VB.OptionButton optSCDT 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "市场动态"
         ForeColor       =   &H80000008&
         Height          =   195
         Left            =   120
         TabIndex        =   3
         Top             =   1290
         Width           =   1035
      End
      Begin VB.OptionButton optQYZH 
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         Caption         =   "企业纵横"
         ForeColor       =   &H80000008&
         Height          =   195
         Left            =   120
         TabIndex        =   2
         Top             =   795
         Width           =   1035
      End
   End
   Begin VB.TextBox rtxtWord 
      Appearance      =   0  'Flat
      BeginProperty Font 
         Name            =   "幼圆"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   6555
      Left            =   1800
      MultiLine       =   -1  'True
      ScrollBars      =   2  'Vertical
      TabIndex        =   0
      Top             =   1140
      Width           =   6555
   End
   Begin VB.Label Label1 
      Appearance      =   0  'Flat
      AutoSize        =   -1  'True
      BackColor       =   &H80000005&
      BackStyle       =   0  'Transparent
      Caption         =   "信息标题:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H80000008&
      Height          =   210
      Left            =   420
      TabIndex        =   13
      Top             =   217
      Width           =   1050
   End
   Begin VB.Label Label2 
      Appearance      =   0  'Flat
      AutoSize        =   -1  'True
      BackColor       =   &H80000005&
      BackStyle       =   0  'Transparent
      Caption         =   "信息出处:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H80000008&
      Height          =   210
      Left            =   420
      TabIndex        =   12
      Top             =   637
      Width           =   1050
   End
   Begin VB.Label Label3 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "信息内容:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   210
      Left            =   420
      TabIndex        =   11
      Top             =   1020
      Width           =   1050
   End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmdQC_Click()
On Error GoTo ErrHandle
  
    
    Me.txtTitle.Text = ""
    Me.txtSource.Text = ""
    Me.rtxtWord = ""
    
    Me.optHGDX.Value = False
    Me.optQYZH.Value = False
    Me.optSCDT.Value = False
    Me.optZHBD.Value = False
    Me.optZXCX.Value = False
    
    Exit Sub
    
ErrHandle:
MsgBox "发生错误!" & vbCrLf & Err.Description
End Sub

Private Sub cmdTJ_Click()
On Error GoTo ErrDo
With Me
    Form1.txtTitle = .txtTitle
    Form1.txtSource = .txtSource
    Form1.rtxtWord = .rtxtWord
End With

If Me.optHGDX.Value = True Then Form1.optHGDX.Value = True
If Me.optQYZH.Value = True Then Form1.optQYZH.Value = True
If Me.optSCDT.Value = True Then Form1.optSCDT.Value = True
If Me.optZHBD.Value = True Then Form1.optZHBD.Value = True
If Me.optZXCX.Value = True Then Form1.optZXCX.Value = True

Form1.Visible = True
Unload Me
Exit Sub

ErrDo:
MsgBox "发生错误" & vbCrLf & Err.Description
End Sub

Private Sub Form_Load()
On Error GoTo ErrDo

With Me
    .txtTitle = Form1.txtTitle
    .txtSource = Form1.txtSource
    .rtxtWord = Form1.rtxtWord
End With

If Form1.optHGDX.Value = True Then Me.optHGDX.Value = True
If Form1.optQYZH.Value = True Then Me.optQYZH.Value = True
If Form1.optSCDT.Value = True Then Me.optSCDT.Value = True
If Form1.optZHBD.Value = True Then Me.optZHBD.Value = True
If Form1.optZXCX.Value = True Then Me.optZXCX.Value = True
Exit Sub

ErrDo:
MsgBox "发生错误" & vbCrLf & Err.Description

End Sub

Private Sub Form_Unload(Cancel As Integer)
Form1.Show

End Sub

⌨️ 快捷键说明

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