userver.dfm

来自「轻巧的TCP 客户端与服务器端通讯测试套件.可以在两处分别安装客户端与服务器端,」· DFM 代码 · 共 100 行

DFM
100
字号
object Form2: TForm2
  Left = 528
  Top = 111
  Width = 527
  Height = 401
  Caption = 'Form2'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 200
    Top = 4
    Width = 32
    Height = 13
    Caption = 'Label1'
  end
  object st: TStatusBar
    Left = 0
    Top = 348
    Width = 519
    Height = 19
    Panels = <
      item
        Width = 50
      end
      item
        Width = 50
      end
      item
        Width = 50
      end>
  end
  object log: TMemo
    Left = 4
    Top = 40
    Width = 189
    Height = 254
    Lines.Strings = (
      'Memo1')
    TabOrder = 1
  end
  object recv: TMemo
    Left = 208
    Top = 40
    Width = 193
    Height = 253
    Lines.Strings = (
      'Memo1')
    TabOrder = 2
  end
  object DBGrid1: TDBGrid
    Left = 4
    Top = 140
    Width = 201
    Height = 193
    DataSource = DataSource1
    TabOrder = 3
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object server: TIdTCPServer
    OnStatus = serverStatus
    Bindings = <>
    CommandHandlers = <>
    DefaultPort = 9001
    Greeting.NumericCode = 0
    MaxConnectionReply.NumericCode = 0
    OnAfterCommandHandler = serverAfterCommandHandler
    OnBeforeCommandHandler = serverBeforeCommandHandler
    OnConnect = serverConnect
    OnExecute = serverExecute
    OnDisconnect = serverDisconnect
    ReplyExceptionCode = 0
    ReplyTexts = <>
    ReplyUnknownCommand.NumericCode = 0
    Left = 112
    Top = 4
  end
  object ClientDataSet1: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 360
  end
  object DataSource1: TDataSource
    DataSet = ClientDataSet1
    Left = 400
    Top = 4
  end
end

⌨️ 快捷键说明

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