📄 filterform.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form FilterForm
Caption = "滤波器设置"
ClientHeight = 1530
ClientLeft = 60
ClientTop = 345
ClientWidth = 4455
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1530
ScaleWidth = 4455
StartUpPosition = 2 '屏幕中心
Begin MSComctlLib.Slider Slider2
Height = 255
Left = 1320
TabIndex = 3
Top = 960
Width = 2775
_ExtentX = 4895
_ExtentY = 450
_Version = 393216
Max = 3
End
Begin MSComctlLib.Slider Slider1
Height = 255
Left = 1320
TabIndex = 2
Top = 360
Width = 2775
_ExtentX = 4895
_ExtentY = 450
_Version = 393216
Max = 7
End
Begin VB.Label Label2
Caption = "滤波器2:"
Height = 255
Left = 360
TabIndex = 1
Top = 960
Width = 975
End
Begin VB.Label Label1
Caption = "滤波器1:"
Height = 255
Left = 360
TabIndex = 0
Top = 360
Width = 855
End
End
Attribute VB_Name = "FilterForm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Dim val As Long
val = MV_GetDeviceParameter(hDevice, FILERSELECT1)
Slider1.Value = val
val = MV_GetDeviceParameter(hDevice, FILERSELECT2)
Slider2.Value = val
End Sub
Private Sub Slider1_Change()
Dim val As Long
val = Slider1.Value
MV_SetDeviceParameter hDevice, FILERSELECT1, val
End Sub
Private Sub Slider2_Change()
Dim val As Long
val = Slider2.Value
MV_SetDeviceParameter hDevice, FILERSELECT2, val
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -