📄 pwmform.dfm
字号:
object frmMain: TfrmMain
Left = 266
Top = 187
BorderStyle = bsDialog
Caption = 'PWM'
ClientHeight = 231
ClientWidth = 473
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 grpDevSelect: TGroupBox
Left = 5
Top = 8
Width = 460
Height = 52
Caption = '&DeviceName'
TabOrder = 0
object labDeviceName: TLabel
Left = 9
Top = 22
Width = 3
Height = 13
end
object btnSelectDevice: TButton
Left = 352
Top = 16
Width = 92
Height = 25
Caption = '&Select Device'
TabOrder = 0
OnClick = btnSelectDeviceClick
end
end
object grpPWMConfiguration: TGroupBox
Left = 8
Top = 64
Width = 457
Height = 121
Caption = 'P&WM Configuration'
TabOrder = 1
object Label1: TLabel
Left = 32
Top = 60
Width = 114
Height = 13
Caption = 'Period: mS'
end
object Label2: TLabel
Left = 176
Top = 60
Width = 114
Height = 13
Caption = 'Period: mS'
end
object Label3: TLabel
Left = 19
Top = 96
Width = 127
Height = 13
Caption = 'Hi Period: mS'
end
object Label4: TLabel
Left = 163
Top = 96
Width = 127
Height = 13
Caption = 'Hi Period: mS'
end
object Label5: TLabel
Left = 328
Top = 60
Width = 114
Height = 13
Caption = 'Period: mS'
end
object Label6: TLabel
Left = 315
Top = 96
Width = 127
Height = 13
Caption = 'Hi Period: mS'
end
object chkPWMEnable0: TCheckBox
Left = 24
Top = 24
Width = 121
Height = 17
Caption = 'Ch. 0 PWM Enable'
TabOrder = 0
OnClick = chkPWMEnable0Click
end
object chkPWMEnable1: TCheckBox
Left = 176
Top = 24
Width = 121
Height = 17
Caption = 'Ch. 1 PWM Enable'
TabOrder = 1
OnClick = chkPWMEnable1Click
end
object txtPeriod0: TEdit
Left = 69
Top = 56
Width = 57
Height = 21
Enabled = False
TabOrder = 2
Text = '100'
OnExit = txtPeriod0Exit
end
object txtPeriod1: TEdit
Left = 214
Top = 56
Width = 57
Height = 21
Enabled = False
TabOrder = 3
Text = '100'
OnExit = txtPeriod1Exit
end
object txtHiPeriod0: TEdit
Left = 69
Top = 88
Width = 57
Height = 21
Enabled = False
TabOrder = 4
Text = '50'
OnExit = txtHiPeriod0Exit
end
object txtHiPeriod1: TEdit
Left = 214
Top = 88
Width = 57
Height = 21
Enabled = False
TabOrder = 5
Text = '50'
OnExit = txtHiPeriod1Exit
end
object chkPWMEnable2: TCheckBox
Left = 328
Top = 24
Width = 121
Height = 17
Caption = 'Ch. 2 PWM Enable'
TabOrder = 6
OnClick = chkPWMEnable2Click
end
object txtPeriod2: TEdit
Left = 366
Top = 56
Width = 57
Height = 21
Enabled = False
TabOrder = 7
Text = '100'
OnExit = txtPeriod2Exit
end
object txtHiPeriod2: TEdit
Left = 366
Top = 88
Width = 57
Height = 21
Enabled = False
TabOrder = 8
Text = '50'
OnExit = txtHiPeriod2Exit
end
end
object btnRun: TButton
Left = 56
Top = 200
Width = 71
Height = 24
Caption = '&Run'
TabOrder = 2
OnClick = btnRunClick
end
object btnStop: TButton
Left = 200
Top = 200
Width = 71
Height = 24
Caption = '&Stop'
Enabled = False
TabOrder = 3
OnClick = btnStopClick
end
object btnExit: TButton
Left = 344
Top = 200
Width = 71
Height = 24
Caption = 'E&xit'
TabOrder = 4
OnClick = btnExitClick
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -