📄 pwmform.dfm
字号:
object frmMain: TfrmMain
Left = 404
Top = 204
BorderStyle = bsDialog
Caption = 'PWM'
ClientHeight = 250
ClientWidth = 470
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 = 463
Height = 52
Caption = '&DeviceName'
TabOrder = 0
object labDeviceName: TLabel
Left = 9
Top = 22
Width = 3
Height = 13
end
object btnSelectDevice: TButton
Left = 360
Top = 16
Width = 92
Height = 25
Caption = '&Select Device'
TabOrder = 0
OnClick = btnSelectDeviceClick
end
end
object grpPWMConfiguration: TGroupBox
Left = 8
Top = 64
Width = 353
Height = 117
Caption = 'P&WM Configuration'
TabOrder = 1
object Label1: TLabel
Left = 24
Top = 60
Width = 132
Height = 13
Caption = 'Period: 0.1 mS'
end
object Label2: TLabel
Left = 200
Top = 60
Width = 132
Height = 13
Caption = 'Period: 0.1 mS'
end
object Label3: TLabel
Left = 11
Top = 96
Width = 145
Height = 13
Caption = 'Hi Period: 0.1 mS'
end
object Label4: TLabel
Left = 187
Top = 96
Width = 145
Height = 13
Caption = 'Hi Period: 0.1 mS'
end
object chkPWMEnable0: TCheckBox
Left = 16
Top = 24
Width = 121
Height = 17
Caption = 'Ch. 0 PWM Enable'
TabOrder = 0
OnClick = chkPWMEnable0Click
end
object chkPWMEnable1: TCheckBox
Left = 200
Top = 24
Width = 121
Height = 17
Caption = 'Ch. 1 PWM Enable'
TabOrder = 1
OnClick = chkPWMEnable1Click
end
object txtPeriod0: TEdit
Left = 61
Top = 56
Width = 57
Height = 21
Enabled = False
TabOrder = 2
Text = '100'
OnExit = txtPeriod0Exit
end
object txtPeriod1: TEdit
Left = 238
Top = 56
Width = 57
Height = 21
Enabled = False
TabOrder = 3
Text = '100'
OnExit = txtPeriod1Exit
end
object txtHiPeriod0: TEdit
Left = 61
Top = 88
Width = 57
Height = 21
Enabled = False
TabOrder = 4
Text = '50'
OnExit = txtHiPeriod0Exit
end
object txtHiPeriod1: TEdit
Left = 238
Top = 88
Width = 57
Height = 21
Enabled = False
TabOrder = 5
Text = '50'
OnExit = txtHiPeriod1Exit
end
end
object grpPluseOutCount: TGroupBox
Left = 8
Top = 192
Width = 353
Height = 49
Caption = '&Pules Out Count'
TabOrder = 2
object chkPluseEnable0: TCheckBox
Left = 16
Top = 24
Width = 89
Height = 17
Caption = 'Ch. 0 Enable'
TabOrder = 0
OnClick = chkPluseEnable0Click
end
object chkPluseEnable1: TCheckBox
Left = 184
Top = 24
Width = 97
Height = 17
Caption = 'Ch. 1 Enable'
TabOrder = 1
OnClick = chkPluseEnable1Click
end
object txtPluseCount0: TEdit
Left = 112
Top = 20
Width = 57
Height = 21
Enabled = False
TabOrder = 2
Text = '0'
OnExit = txtPluseCount0Exit
end
object txtPluseCount1: TEdit
Left = 272
Top = 20
Width = 57
Height = 21
Enabled = False
TabOrder = 3
Text = '0'
OnExit = txtPluseCount1Exit
end
end
object btnRun: TButton
Left = 384
Top = 152
Width = 71
Height = 24
Caption = '&Run'
TabOrder = 3
OnClick = btnRunClick
end
object btnStop: TButton
Left = 384
Top = 184
Width = 71
Height = 24
Caption = '&Stop'
Enabled = False
TabOrder = 4
OnClick = btnStopClick
end
object btnExit: TButton
Left = 384
Top = 216
Width = 71
Height = 24
Caption = 'E&xit'
TabOrder = 5
OnClick = btnExitClick
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -