clientc.dfm

来自「一个用于delphi多线程Socket.多线程Socket阻塞模式下通信的例子」· DFM 代码 · 共 89 行

DFM
89
字号
object ClientFrm: TClientFrm
  Left = 316
  Top = 135
  BorderIcons = [biSystemMenu, biMinimize]
  BorderStyle = bsSingle
  Caption = '阻塞模式Socket客戶端'
  ClientHeight = 330
  ClientWidth = 282
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poDesktopCenter
  PixelsPerInch = 96
  TextHeight = 13
  object Memo1: TMemo
    Left = 0
    Top = 0
    Width = 281
    Height = 265
    Font.Charset = ANSI_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = '宋体'
    Font.Style = []
    Lines.Strings = (
      '沒有連接到服務器...')
    ParentFont = False
    ReadOnly = True
    TabOrder = 5
  end
  object Button1: TButton
    Left = 0
    Top = 272
    Width = 89
    Height = 25
    Caption = '连 接'
    TabOrder = 0
    OnClick = Button1Click
  end
  object Edit1: TEdit
    Left = 0
    Top = 304
    Width = 185
    Height = 21
    TabOrder = 4
  end
  object Button2: TButton
    Left = 192
    Top = 304
    Width = 89
    Height = 25
    Caption = '发 送'
    Default = True
    Enabled = False
    TabOrder = 1
    OnClick = Button2Click
  end
  object Button3: TButton
    Left = 96
    Top = 272
    Width = 89
    Height = 25
    Caption = '断 开'
    Enabled = False
    TabOrder = 2
    OnClick = Button3Click
  end
  object Button4: TButton
    Left = 192
    Top = 272
    Width = 89
    Height = 25
    Caption = '关 闭'
    TabOrder = 3
    OnClick = Button4Click
  end
  object ClientSocket1: TClientSocket
    Active = False
    ClientType = ctBlocking
    Port = 1220
    Left = 248
    Top = 232
  end
end

⌨️ 快捷键说明

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