error.frm
来自「西门子 通信程序 vb与西门子PLc通讯程序源码」· FRM 代码 · 共 60 行
FRM
60 行
VERSION 5.00
Begin VB.Form ERROR_FRM
Caption = "ERROR"
ClientHeight = 1260
ClientLeft = 60
ClientTop = 345
ClientWidth = 7170
LinkTopic = "Form1"
ScaleHeight = 1260
ScaleWidth = 7170
StartUpPosition = 3 'Windows-Standard
Begin VB.TextBox IDERRORNO
Height = 285
Left = 120
TabIndex = 2
Text = "Text1"
Top = 600
Width = 1095
End
Begin VB.CommandButton IDOK
Caption = "ok"
Height = 375
Left = 5400
TabIndex = 1
Top = 720
Width = 1095
End
Begin VB.TextBox IDERROR
Height = 285
Left = 120
TabIndex = 0
Top = 120
Width = 6975
End
Begin VB.Label Label1
Caption = "hex"
Height = 255
Left = 1320
TabIndex = 3
Top = 600
Width = 615
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()
IDERRORNO.Text = Hex(res)
ErrorText = " "
res = error_message(res, ErrorText)
IDERROR.Text = ErrorText
End Sub
Private Sub IDOK_Click()
ERROR_FRM.Visible = False
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?