MixerPro 1.2
xFX JumpStart

Home | Classes | Collections | Constants

Classes

CMixerPRO
    Mixers
        CMixer
            Lines
                CLine
                    Controls
                        CControl

This class provides an interface to one of the controls available in the parent CLine object.


Properties

ControlClass As ControlClassConstants
Returns a value indicating a combination of classes that define the type of control.

ControlType As ControlTypeConstants
Returns the global class that identifies the type of control.

Enabled As Boolean
Returns whether the control is enabled or disabled.

ID As Long
Returns the ID of the control that the class is interfacing.

Index As Integer
Returns the index of the object in the Controls collection.

IsValid As Boolean
Returns whether the control is valid or not.
Invalid controls are those that are not supported by the engine. Such controls include all those that fall into the cccCLASS_CUSTOM class.

LongName As String
Returns the long name of the control.

Max As Long
Returns the maximum value supported by the control.

Min As Long
Returns the minimum value supported by the control.

Parent As CLine
Returns a reference to the CLine object to which this control belongs to.

ShortName As String
Returns the short name of the control.

Steps As Long
Returns the value at which the Value of the control changes.

UniformValue As Long
Sets or Returns the uniform value for the control.

Value As Long()
Sets or returns an array of values for all the channels available in the control.

Collections

CtrlItems

Methods

Binding.Define(Obj As Object, PropertyName As String, [EventName As String]) [.NET Version Only]
This method is used to define a binding between a CControl and an object.
When a binding is defined the CControl will change object's property to match its value and will also be able to receive notifications from the object and update its value from the object's property.

This can be very useful if, for example, you want to have a TrackBar synchronized with a CControl.
Here's a sample code that could be used to create the binding:

MyControl.Binding.Define(MyTrackBar, "Value", "ValueChanged")

Whenever the CControl changes it will update the TrackBar's value through the Value property. If the TrackBar's value changes then CControl will receive a notification through the ValueChanged event and will read the TrackBar's value and update itself.

Events

(none)