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

📄 comm.dfm

📁 unit comm interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, D
💻 DFM
字号:
object Fcomm: TFcomm
  Left = 217
  Top = 165
  Width = 349
  Height = 480
  Caption = '通讯测试'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object GroupBox1: TGroupBox
    Left = 0
    Top = 0
    Width = 341
    Height = 404
    Align = alClient
    Caption = '数据接收和发送'
    TabOrder = 0
    object Memo1: TMemo
      Left = 2
      Top = 177
      Width = 337
      Height = 225
      Align = alClient
      Lines.Strings = (
        '数据接收:')
      ScrollBars = ssVertical
      TabOrder = 0
    end
    object Memo2: TMemo
      Left = 2
      Top = 15
      Width = 337
      Height = 162
      Align = alTop
      TabOrder = 1
    end
  end
  object GroupBox2: TGroupBox
    Left = 0
    Top = 404
    Width = 341
    Height = 49
    Align = alBottom
    TabOrder = 1
    object Button1: TButton
      Left = 5
      Top = 12
      Width = 81
      Height = 33
      Caption = '开始通讯'
      TabOrder = 0
      OnClick = Button1Click
    end
    object Btn_send: TButton
      Left = 120
      Top = 12
      Width = 89
      Height = 33
      Caption = '发送数据'
      TabOrder = 1
      OnClick = Btn_sendClick
    end
    object Button2: TButton
      Left = 240
      Top = 12
      Width = 81
      Height = 33
      Caption = '停止通讯'
      TabOrder = 2
      OnClick = Button2Click
    end
  end
  object Comm1: TComm
    CommName = 'COM1'
    BaudRate = 9600
    ParityCheck = False
    Outx_CtsFlow = False
    Outx_DsrFlow = False
    DtrControl = DtrEnable
    DsrSensitivity = False
    TxContinueOnXoff = True
    Outx_XonXoffFlow = True
    Inx_XonXoffFlow = True
    ReplaceWhenParityError = False
    IgnoreNullChar = False
    RtsControl = RtsEnable
    XonLimit = 500
    XoffLimit = 500
    ByteSize = _8
    Parity = None
    StopBits = _1
    XonChar = #17
    XoffChar = #19
    ReplacedChar = #0
    ReadIntervalTimeout = 100
    ReadTotalTimeoutMultiplier = 0
    ReadTotalTimeoutConstant = 0
    WriteTotalTimeoutMultiplier = 0
    WriteTotalTimeoutConstant = 0
    OnReceiveData = Comm1ReceiveData
    Left = 248
    Top = 8
  end
end

⌨️ 快捷键说明

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