📄 chat.dfm
字号:
object MainForm: TMainForm
Left = 251
Top = 169
Width = 696
Height = 516
BorderIcons = []
Caption = 'UDP'#32842#22825#31995#32479
Color = clGradientActiveCaption
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
OnClose = FormClose
OnCreate = FormCreate
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object Label1: TLabel
Left = 541
Top = 56
Width = 65
Height = 20
AutoSize = False
Caption = #36828#31243'IP'
Constraints.MaxHeight = 400
Constraints.MaxWidth = 400
Font.Charset = DEFAULT_CHARSET
Font.Color = clPurple
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label2: TLabel
Left = 541
Top = 120
Width = 81
Height = 20
AutoSize = False
Caption = #36828#31243#31471#21475
Constraints.MaxHeight = 400
Constraints.MaxWidth = 400
Font.Charset = DEFAULT_CHARSET
Font.Color = clPurple
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label3: TLabel
Left = 541
Top = 184
Width = 89
Height = 20
AutoSize = False
Caption = #26412#22320#31471#21475
Constraints.MaxHeight = 400
Constraints.MaxWidth = 400
Font.Charset = DEFAULT_CHARSET
Font.Color = clPurple
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label4: TLabel
Left = 541
Top = 248
Width = 49
Height = 20
AutoSize = False
Caption = #26165#31216
Constraints.MaxHeight = 400
Constraints.MaxWidth = 400
Font.Charset = DEFAULT_CHARSET
Font.Color = clPurple
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label5: TLabel
Left = 24
Top = 391
Width = 49
Height = 20
AutoSize = False
Caption = #23383#20307
Constraints.MaxHeight = 400
Constraints.MaxWidth = 400
Font.Charset = DEFAULT_CHARSET
Font.Color = clPurple
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Label6: TLabel
Left = 440
Top = 391
Width = 41
Height = 20
AutoSize = False
Caption = #32972#26223
Constraints.MaxHeight = 400
Constraints.MaxWidth = 400
Font.Charset = DEFAULT_CHARSET
Font.Color = clPurple
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object Bold: TSpeedButton
Left = 352
Top = 390
Width = 23
Height = 22
Caption = 'B'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
OnClick = BoldClick
end
object Italic: TSpeedButton
Left = 376
Top = 390
Width = 23
Height = 22
Caption = 'I'
Font.Charset = ANSI_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Serif'
Font.Style = [fsBold, fsItalic]
ParentFont = False
OnClick = ItalicClick
end
object Underline: TSpeedButton
Left = 400
Top = 390
Width = 23
Height = 22
Caption = '&U'
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
OnClick = UnderlineClick
end
object close1: TSpeedButton
Left = 613
Top = 430
Width = 49
Height = 26
Caption = #36864#20986
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
OnClick = close1Click
end
object SpeedButton1: TSpeedButton
Left = 565
Top = 344
Width = 98
Height = 26
Caption = #20462#25913#23494#30721
Font.Charset = DEFAULT_CHARSET
Font.Color = clRed
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold, fsItalic]
ParentFont = False
OnClick = SpeedButton1Click
end
object remoteip: TEdit
Left = 541
Top = 80
Width = 121
Height = 21
TabOrder = 0
end
object remoteport: TEdit
Left = 541
Top = 144
Width = 121
Height = 21
TabOrder = 1
end
object localname: TEdit
Left = 541
Top = 208
Width = 121
Height = 21
TabOrder = 2
end
object nickname: TEdit
Left = 541
Top = 272
Width = 121
Height = 21
ReadOnly = True
TabOrder = 3
end
object bitset: TBitBtn
Left = 613
Top = 299
Width = 49
Height = 26
Caption = #35774#23450
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -19
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 4
OnClick = bitsetClick
end
object FontName: TComboBox
Left = 72
Top = 391
Width = 73
Height = 21
ItemHeight = 13
TabOrder = 5
end
object FontSize: TEdit
Left = 152
Top = 391
Width = 65
Height = 21
TabOrder = 6
Text = '15'
end
object UpDown1: TUpDown
Left = 217
Top = 391
Width = 16
Height = 21
Associate = FontSize
Position = 15
TabOrder = 7
end
object ColorBox1: TColorBox
Left = 240
Top = 390
Width = 97
Height = 22
ItemHeight = 16
TabOrder = 8
end
object ColorBox2: TColorBox
Left = 488
Top = 390
Width = 95
Height = 22
ItemHeight = 16
TabOrder = 9
OnChange = ColorBox2Change
end
object InputBox: TEdit
Left = 24
Top = 431
Width = 505
Height = 26
AutoSize = False
ImeMode = imClose
ImeName = #20013#25991' - '#32043#20809#21326#23431#25340#38899#36755#20837#27861'V6'
TabOrder = 10
OnKeyDown = InputBoxKeyDown
end
object bitsend: TBitBtn
Left = 535
Top = 430
Width = 49
Height = 26
Caption = #21457#36865
Enabled = False
Font.Charset = DEFAULT_CHARSET
Font.Color = clOlive
Font.Height = -19
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 11
OnClick = bitsendClick
end
object chatlog: TRichEdit
Left = 24
Top = 56
Width = 505
Height = 312
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
HideScrollBars = False
ImeMode = imClose
ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
ParentFont = False
ReadOnly = True
ScrollBars = ssVertical
TabOrder = 12
end
object IdUDPClient1: TIdUDPClient
Port = 0
Left = 392
Top = 295
end
object IdUDPServer1: TIdUDPServer
Active = True
Bindings = <>
DefaultPort = 0
OnUDPRead = IdUDPServer1UDPRead
Left = 192
Top = 327
end
object ImageList1: TImageList
Left = 392
Top = 327
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -