EQPro 1.5 Documentation

Introduction Properties Methods Events Constants Code Samples

Probably the most useful feature of EQPro is the hardest one to understand, the FindLine function.

Here're some helpful samples from real situations that users of EQPro have encountered.
About 80% of this situations can be solved using the FindLine function.
For more basic samples on using this function, please refer to the description its description.

Let's say we want to fill a list combo with all the lines that support muting and are of type faders (i.e. volume controls).

Do Until ucEQPro1.FindLines(rtName) = ""
	If ucEQPro1.FindLines(rtType, , True) = ltFader And _
		ucEQPro1.HasMute(ucEQPro1.FindLines(rtID, , True)) Then
		With Combo1
			.AddItem IIf(ucEQPro1.FindLines(rtDirection, , True) = dOutput, _
                        "(Output) ", _
                        "(Input) ") + _
                        ucEQPro1.FindLines(rtName, , True)
			.ItemData(.NewIndex) = ucEQPro1.FindLines(rtID, , True)
		End With
	End If
	LineName = ucEQPro1.FindLines(rtName)
Loop

Try removing the statement that checks whether is the line supports muting. You'll get all the lines that are of type faders. This should be a good exercise.


Maybe, the most common situation is: How can I make the Microphone the default recording source?

ucEQPro1.FindLines rtName, "Mic"
Do Until ucEQPro1.FindLines(rtName, , True) = ""
	If ucEQPro1.FindLines(rtDirection, , True) = dInput Then
		ucEQPro1.ActiveLine = ucEQPro1.FindLines(rtID, , True)
		ucEQPro1.SelectForRecording = True
		Exit Do
	End If
	ucEQPro1.FindLines rtName
Loop

Please keep checking the online version of this documentation for further additions to this section.
If you have tried to use the EQPro control to do something and you haven't found how to do it, please let me know. I'll try to find a solution and I'll post it here.