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

📄 unit1.~dfm

📁 精彩的spcomm控件,字符传输或16进制传输,有简单的传输协议,非常典型的应用
💻 ~DFM
字号:
object Form1: TForm1
  Left = 261
  Top = 216
  Width = 425
  Height = 314
  BorderIcons = [biSystemMenu, biMinimize]
  Caption = 'COM'#21475#27979#35797#65306
  Color = clBtnFace
  Font.Charset = ANSI_CHARSET
  Font.Color = clWindowText
  Font.Height = -13
  Font.Name = #23435#20307
  Font.Style = []
  OldCreateOrder = False
  OnCloseQuery = FormCloseQuery
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 8
    Top = 120
    Width = 26
    Height = 13
    Caption = #21457#36865
  end
  object Label2: TLabel
    Left = 192
    Top = 8
    Width = 26
    Height = 13
    Caption = #25509#25910
  end
  object LEDFontNum1: TLEDFontNum
    Left = 120
    Top = 24
    Width = 47
    Height = 38
    Thick = 3
    Space = 4
    Text = '00'
    AutoSize = False
    OnClick = LEDFontNum1Click
  end
  object LEDFontNum2: TLEDFontNum
    Left = 120
    Top = 72
    Width = 47
    Height = 38
    Thick = 3
    Space = 4
    Text = '00'
    AutoSize = False
  end
  object Memo1: TMemo
    Left = 8
    Top = 136
    Width = 169
    Height = 105
    Lines.Strings = (
      '0123456789abcdef')
    TabOrder = 0
  end
  object Memo2: TMemo
    Left = 184
    Top = 24
    Width = 225
    Height = 217
    Lines.Strings = (
      'http://www.kaer.cn/default.aspx'
      ''
      '485'#36890#20449#21327#35758#65306
      ' '#21629#20196#65306'aah,**h('#22320#22336'),ffh='#35835'A'#26495#30340
      'txdata'#25968#25454
      ' '#21629#20196#65306'aah,**h('#22320#22336'),0*h'#65288'0-fh'#65289
      '='#39537#21160'A'#26495#32487#30005#22120
      ' '#21629#20196#65306'aah,**h('#22320#22336'),ddh='#37322#25918'A'#26495
      #25152#21560#21160#30340#32487#30005#22120
      'A'#26495#22238#36865#25968#25454#26684#24335#65306'55h,55h,**h(txd'
      'ata'#25968#25454')'
      ''
      'com'#21475#21442#25968#65306#20351#29992'com1'
      '          '#27874#29305#29575'=2400'
      '          8'#20301#25968#25454'+1'#20301#20572#27490#20301
      '          '#26080#26657#39564#20301)
    TabOrder = 1
  end
  object Button3: TButton
    Left = 24
    Top = 252
    Width = 89
    Height = 25
    Caption = #21457#36865#25968#25454
    Default = True
    TabOrder = 2
    OnClick = Button3Click
  end
  object Button4: TButton
    Left = 312
    Top = 253
    Width = 75
    Height = 25
    Caption = #36864#20986
    TabOrder = 3
    OnClick = Button4Click
  end
  object Check1: TCheckBox
    Left = 144
    Top = 258
    Width = 121
    Height = 17
    Caption = #21313#20845#36827#21046'/'#23383#31526
    Checked = True
    State = cbChecked
    TabOrder = 4
  end
  object Button1: TButton
    Left = 16
    Top = 80
    Width = 75
    Height = 25
    Caption = #35835#25968#25454
    TabOrder = 5
    OnClick = Button1Click
  end
  object Button2: TButton
    Left = 16
    Top = 32
    Width = 75
    Height = 25
    Caption = #39537#21160#32487#30005#22120
    TabOrder = 6
    OnClick = Button2Click
  end
  object Comm1: TComm
    CommName = 'COM1'
    BaudRate = 2400
    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 = 1
    ReadTotalTimeoutMultiplier = 0
    ReadTotalTimeoutConstant = 0
    WriteTotalTimeoutMultiplier = 0
    WriteTotalTimeoutConstant = 0
    OnReceiveData = Comm1ReceiveData
    OnReceiveError = Comm1ReceiveError
    Left = 208
    Top = 168
  end
end

⌨️ 快捷键说明

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