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

📄 error_frm.frm

📁 VB和西门子s300plc串口通讯程序 能实现读写功能
💻 FRM
字号:
VERSION 5.00
Begin VB.Form ERROR_FRM 
   Caption         =   "错误信息"
   ClientHeight    =   3090
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   4680
   LinkTopic       =   "Form2"
   ScaleHeight     =   3090
   ScaleWidth      =   4680
   StartUpPosition =   2  '屏幕中心
   Begin VB.TextBox ERRORINFO 
      Appearance      =   0  'Flat
      Height          =   375
      Left            =   120
      TabIndex        =   1
      Top             =   1560
      Width           =   4335
   End
   Begin VB.TextBox ERRORNO 
      Appearance      =   0  'Flat
      Height          =   375
      Left            =   2280
      TabIndex        =   0
      Top             =   240
      Width           =   1215
   End
   Begin VB.Label Label2 
      Caption         =   "详细错误信息:"
      Height          =   375
      Left            =   120
      TabIndex        =   3
      Top             =   960
      Width           =   1215
   End
   Begin VB.Label Label1 
      Caption         =   "错误代号(16进制显示):"
      Height          =   255
      Left            =   120
      TabIndex        =   2
      Top             =   360
      Width           =   2055
   End
End
Attribute VB_Name = "ERROR_FRM"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Activate()
ERRORNO.Text = Hex(res)
ErrorText = "                                                                          "
If (res <> 0) Then res = error_message(res, ErrorText)
ERRORINFO.Text = ErrorText
End Sub

Private Sub IDOK_Click()
Unload Me
End Sub

⌨️ 快捷键说明

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