CustomLinkControlToField#

Qualified name: delphivcl.CustomLinkControlToField

class CustomLinkControlToField#

Bases: LinkControlToFieldDelegate

Represents the base class for linking a control to a field. The TCustomLinkControlToField class implements the functionality for linking a control to a field in a data source.

Tip: If the direction is bidirectional, then the control must support the IEditLinkObserver interface.

Methods

BindMethodsToEvents

Connects methods to component events if they are named using the following pattern: Prefix_ComponentName_EventName.

ClearExpressionProperties

Embarcadero Technologies does not currently have any additional information.

Create

Creates an instance of the TContainedBindComponent class.

Destroy

Destroys an instance of the TContainedBindComponent class.

GenerateExpressions

Automatically generates the bindings expressions for the quick binding component this delegate wraps onto.

GetDelegates

Gets the delegate (or contained) binding components that this wrapper binding component uses to execute expressions and respond to user input.

GetParentComponent

Returns the parent of a component.

HasParent

Indicates whether the component has a parent to handle its filing.

Attributes

Active

Embarcadero Technologies does not currently have any additional information.

AutoActivate

Embarcadero Technologies does not currently have any additional information.

Binding

Embarcadero Technologies does not currently have any additional information.

BindingsList

Specifies a list that holds the binding expressions.

Category

Specifies a category for this component.

ClassName

Returns the TObject.ClassName

ComObject

Specifies the interface reference implemented by the component.

ComponentCount

Returns the owned component count

ComponentIndex

Indicates the position of the component in its owner's Components property array.

ComponentState

Describes the current state of the component, indicating when a component needs to avoid certain actions.

ComponentStyle

Governs the behavior of the component.

Components

Returns an iterator over the owned components

Control

Embarcadero Technologies does not currently have any additional information.

ControlComponent

Specifies the component that will be bound to the source component, by means of LiveBindings.

ControlMemberName

Embarcadero Technologies does not currently have any additional information.

CustomFormat

Embarcadero Technologies does not currently have any additional information.

CustomParse

Embarcadero Technologies does not currently have any additional information.

DataSource

Specifies a TBaseLinkingBindSource object to which this delegate component links.

DesignInfo

Contains information used by the Form designer.

Direction

Embarcadero Technologies does not currently have any additional information.

DisplayName

Returns a string containing the name of this component.

FieldName

Embarcadero Technologies does not currently have any additional information.

Index

Returns the index of this component in the bindings list.

LookupDataSource

Embarcadero Technologies does not currently have any additional information.

LookupKeyFieldName

Embarcadero Technologies does not currently have any additional information.

LookupValueFieldName

Embarcadero Technologies does not currently have any additional information.

Name

Specifies the name of the component as referenced in code.

Observers

Indicates the TObservers object added to the TComponent.

OnActivated

<Delphi property OnActivated of type TBindComponentDelegate at 211412F1B30>

OnActivating

<Delphi property OnActivating of type TBindComponentDelegate at 211412F1A60>

OnAssignedValue

<Delphi property OnAssignedValue of type TBindComponentDelegate at 211412F18C0>

OnAssigningValue

<Delphi property OnAssigningValue of type TBindComponentDelegate at 211412F17F0>

OnEvalError

<Delphi property OnEvalError of type TBindComponentDelegate at 211412F1990>

Owner

Returns the Component Owner

Tag

Stores a NativeInt integral value as a part of a component.

Track

Embarcadero Technologies does not currently have any additional information.

UseEvalShortcuts

Determines whether this binding component delegate uses evaluation shortcuts (True) or not (False).

VCLComObject

Represents information used internally by components that support COM.

Active#

Embarcadero Technologies does not currently have any additional information.

AutoActivate#

Embarcadero Technologies does not currently have any additional information.

BindMethodsToEvents(prefix)#

Connects methods to component events if they are named using the following pattern: Prefix_ComponentName_EventName. Example: def handle_button1_OnClick(Sender): pass The function returns a list of tuples. Each tuple contains the name of the component, the name of the event and the method object assigned to the event. Note that the prefix parameter is optional and will default to “handle_”.

Binding#

Embarcadero Technologies does not currently have any additional information.

ClearExpressionProperties()#

Embarcadero Technologies does not currently have any additional information.

ComponentCount#

Returns the owned component count

Components#

Returns an iterator over the owned components

Control#

Embarcadero Technologies does not currently have any additional information.

ControlMemberName#

Embarcadero Technologies does not currently have any additional information.

Create(AOwner: Component)#

Creates an instance of the TContainedBindComponent class. Data.Bind.Components.TCustomLinkControlToField.Create inherits from Data.Bind.Components.TContainedBindComponent.Create. All content below this line refers to Data.Bind.Components.TContainedBindComponent.Create. Creates an instance of the TContainedBindComponent class.

CustomFormat#

Embarcadero Technologies does not currently have any additional information.

CustomParse#

Embarcadero Technologies does not currently have any additional information.

Destroy()#

Destroys an instance of the TContainedBindComponent class. Data.Bind.Components.TCustomLinkControlToField.Destroy inherits from Data.Bind.Components.TContainedBindComponent.Destroy. All content below this line refers to Data.Bind.Components.TContainedBindComponent.Destroy. Destroys an instance of the TContainedBindComponent class.

Direction#

Embarcadero Technologies does not currently have any additional information.

FieldName#

Embarcadero Technologies does not currently have any additional information.

GenerateExpressions(Sender: Component)#

Automatically generates the bindings expressions for the quick binding component this delegate wraps onto. Data.Bind.Components.TCustomLinkControlToField.GenerateExpressions inherits from Data.Bind.Components.TBindComponentDelegate.GenerateExpressions. All content below this line refers to Data.Bind.Components.TBindComponentDelegate.GenerateExpressions. Automatically generates the bindings expressions for the quick binding component this delegate wraps onto. For more information regarding the quick binding components, please refer to the New LiveBinding topic, the Quick Binding Components Reference section.

GetDelegates()#

Gets the delegate (or contained) binding components that this wrapper binding component uses to execute expressions and respond to user input. Data.Bind.Components.TCustomLinkControlToField.GetDelegates inherits from Data.Bind.Components.TBindComponentDelegate.GetDelegates. All content below this line refers to Data.Bind.Components.TBindComponentDelegate.GetDelegates. Gets the delegate (or contained) binding components that this wrapper binding component uses to execute expressions and respond to user input.

GetParentComponent()#

Returns the parent of a component.

HasParent()#

Indicates whether the component has a parent to handle its filing.

LookupDataSource#

Embarcadero Technologies does not currently have any additional information.

LookupKeyFieldName#

Embarcadero Technologies does not currently have any additional information.

LookupValueFieldName#

Embarcadero Technologies does not currently have any additional information.

Owner#

Returns the Component Owner

Track#

Embarcadero Technologies does not currently have any additional information.

UseEvalShortcuts#

Determines whether this binding component delegate uses evaluation shortcuts (True) or not (False).