cControl_Binder Object Members


Used for binding one or more controls / forms to another control / form for the purpose of updating the data (using a SQL query) in the target control based on the values in the source controls. The binder class provides a context for the bindings. That is, the binder class identifies the target control (the control updated by changes in other controls). Individual bindings may then be added (using the cControlChild_Binding class) which bind the target object to one or more source objects.

Code Modules

Name Standard / Class Description
Support_Globals.bas Standard Support module providing global variables and enumerations.
Support_General.bas Standard Support module providing general functions used by multiple Composite Control classes.
Support_Binder.bas Standard Support module for the cControlBinder and cControlChildBinding classes.
cControl_Binder.cls Class Class module for the cControl_Binder class.
cControlChild_Binding.cls Class Class module for the cControlChild_Binding class.
iControl.cls Interface Base Interface class for all cControl objects.
iControlChild.cls Interface Base Interface class for all cControlChild objects.
iControl_Reference.cls Interface Base Interface class for all Composite Control classes.

Methods

Name Description
AttachToEventHandler
Attach_Binding
Bind
Binding_ByRef
Binding_Remove
cbStartUp Callback method for the OnStartUp event. Used internally.
cbTerminate Callback method for the OnTerminate event. Used internally.
Initialize Initializes the cControl_EventHandler object.
regRef Registers a Composite Controls object with the global object references collection in the CompositeControls class instance.
SetDefault
SetTargetControlDefault_
Sync
Sync_
Unbind
Terminate Terminates the cControl_EventHandler object.

Properties

Name Description
AutoBind
Binding
BindingProperty
Control
ControlType
DefaultValue
ID Stores unique identifier for object.
Name Returns the name of the object.
Parent Returns the parent object.
SQL
TargetObject

Last edited Jan 13, 2011 at 6:36 AM by vba_junkie, version 1

Comments

No comments yet.