📄 unit2.dfm
字号:
object Form2: TForm2
Left = 421
Top = 305
BorderIcons = []
BorderStyle = bsDialog
Caption = #35774#32622
ClientHeight = 244
ClientWidth = 254
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
OnCreate = FormCreate
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object GroupBox1: TGroupBox
Left = 0
Top = 0
Width = 249
Height = 209
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
TabOrder = 0
object Label1: TLabel
Left = 16
Top = 24
Width = 56
Height = 14
Caption = #20018' '#21475#65306
end
object Label2: TLabel
Left = 16
Top = 56
Width = 56
Height = 14
Caption = #27874#29305#29575#65306
end
object Label3: TLabel
Left = 16
Top = 88
Width = 56
Height = 14
Caption = #20301' '#38271#65306
end
object Label4: TLabel
Left = 16
Top = 120
Width = 56
Height = 14
Caption = #20572#27490#20301#65306
end
object Label5: TLabel
Left = 16
Top = 176
Width = 70
Height = 14
Caption = #26657#39564#26041#24335#65306
end
object ComboBoxCom: TComboBox
Left = 80
Top = 24
Width = 145
Height = 22
Style = csDropDownList
ItemHeight = 14
TabOrder = 0
Items.Strings = (
'COM1'
'COM2'
'COM3'
'COM4')
end
object ComboBoxB: TComboBox
Left = 80
Top = 56
Width = 145
Height = 22
Style = csDropDownList
ItemHeight = 14
TabOrder = 1
Items.Strings = (
'1200'
'2400'
'4800'
'9600'
'12000')
end
object ComboBoxBytesize: TComboBox
Left = 80
Top = 88
Width = 145
Height = 22
Style = csDropDownList
ItemHeight = 14
TabOrder = 2
Items.Strings = (
'5'
'6'
'7'
'8')
end
object ComboBoxStopBits: TComboBox
Left = 80
Top = 120
Width = 145
Height = 22
Style = csDropDownList
ItemHeight = 14
TabOrder = 3
Items.Strings = (
'1'
'1.5'
'2')
end
object ComboBoxParity: TComboBox
Left = 80
Top = 176
Width = 145
Height = 22
Style = csDropDownList
ItemHeight = 14
TabOrder = 4
Items.Strings = (
'None'
'Odd'
'Even'
'Mark'
'Space')
end
object CheckBoxParityCheck: TCheckBox
Left = 16
Top = 152
Width = 97
Height = 17
Caption = #36827#34892#26657#39564
TabOrder = 5
OnClick = CheckBoxParityCheckClick
end
end
object BitBtn1: TBitBtn
Left = 88
Top = 216
Width = 75
Height = 25
Caption = #30830#23450
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
TabOrder = 1
OnClick = BitBtn1Click
Glyph.Data = {
76010000424D7601000000000000760000002800000020000000100000000100
04000000000000010000120B0000120B00001000000000000000000000000000
800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00555555555555
555555555555555555555555555555555555555555FF55555555555559055555
55555555577FF5555555555599905555555555557777F5555555555599905555
555555557777FF5555555559999905555555555777777F555555559999990555
5555557777777FF5555557990599905555555777757777F55555790555599055
55557775555777FF5555555555599905555555555557777F5555555555559905
555555555555777FF5555555555559905555555555555777FF55555555555579
05555555555555777FF5555555555557905555555555555777FF555555555555
5990555555555555577755555555555555555555555555555555}
NumGlyphs = 2
end
object Comm1: TComm
CommName = 'COM2'
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
Left = 216
Top = 208
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -