MixerPro 1.2
xFX JumpStart

Home | Classes | Collections | Constants

Classes

CMixerPRO
    Mixers
        CMixer
            Lines
                CLine
                    Controls
                        CControl
                            CtrlItems
                                CCtrlItem

This class provides an interface to one of the items available in the parent CControl object.


Properties

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

ItemName As Variant
Returns the name of the control.

Parent As CControl
Returns a reference to the CControl object to which this item belongs to.

Value As Long
Sets or returns the value of the item.

Collections

(none)

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:

MyCtrlItem.Binding.Define(MyCheckBox, "Checked", "CheckStateChanged")

Whenever the CCtrlItem changes it will update the CheckBox's value through the Checked property. If the ChekBox's checked statechanges then CCtrlItem will receive a notification through the CheckStateChanged event and will read the CheckBox's checked state and update itself.

Events

(none)