CNiBinding::SetBindObject

CNi

Class
CNiBinding::
SetBindObject()
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: SetBindObjectNext page: Update    
Public Function Declared in:
NiBinding.h

'Declaration' icon -- Shortcut to top of page. Declaration

void SetBindObject(
    CNiControl& control);

'Description' icon -- Shortcut to top of page. Description

Sets the object whose property binds to a data source. You must call this function from the thread that created the control.

Shortcut to top of page. Parameters

CNiControl& control

The control to bind.

'See Also' icon -- Shortcut to top of page. See Also

Shortcut to top of page. Example

    // Sets the BindObject to be a CNiKnob.

CNiKnob knob; CNiBinding binding = knob.Bindings.Item(1); binding.SetBindObject(knob);