LinkPropertyToField¶
Qualified name: delphivcl.LinkPropertyToField
- class LinkPropertyToField¶
Bases:
CustomLinkPropertyToFieldLinks the property of a component to a field. The TLinkPropertyToField class extends TCustomLinkPropertyToField with published properties.
Tip: The user input to this component is not monitored using an observer.
Methods
TComponent.BindMethodsToEvents(prefix) Connects methods to component events if they are named using the following pattern: Prefix_ComponentName_EventName.
TComponent.GetParentComponent() Returns the parent of a component.
TComponent.HasParent() Indicates whether the component has a parent to handle its filing.
Attributes
ActiveEmbarcadero Technologies does not currently have any additional information.
Embarcadero Technologies does not currently have any additional information.
BindLinkEmbarcadero Technologies does not currently have any additional information.
BindingsListSpecifies a list that holds the binding expressions.
CategorySpecifies a category for this component.
ClassNameReturns the TObject.ClassName
ComObjectSpecifies the interface reference implemented by the component.
Specifies the component that this wrapping binding component references.
Returns the owned component count
ComponentIndexIndicates the position of the component in its owner's Components property array.
Specifies the name of the property of the component that this wrapping binding component references.
ComponentStateDescribes the current state of the component, indicating when a component needs to avoid certain actions.
ComponentStyleGoverns the behavior of the component.
Returns an iterator over the owned components
ControlComponentSpecifies the component that will be bound to the source component, by means of LiveBindings.
Embarcadero Technologies does not currently have any additional information.
Specifies a TDataSource object to which this delegate component links.
DesignInfoContains information used by the Form designer.
DisplayNameReturns a string containing the name of this component.
Specifies the field name that this wrapping binding component references.
IndexReturns the index of this component in the bindings list.
Embarcadero Technologies does not currently have any additional information.
Embarcadero Technologies does not currently have any additional information.
Embarcadero Technologies does not currently have any additional information.
NameSpecifies the name of the component as referenced in code.
ObserversIndicates the TObservers object added to the TComponent.
Callable[[Object, BindingAssignValueRec, Value], None]:
Callable[[Object, BindingAssignValueRec, Value, bool], None]:
Callable[[Object, Exception], None]:
Returns the Component Owner
TagStores a NativeInt integral value as a part of a component.
VCLComObjectRepresents information used internally by components that support COM.
- AutoActivate¶
Embarcadero Technologies does not currently have any additional information.
- Type:
bool
- 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_”.
- ComponentCount¶
Returns the owned component count
- ComponentProperty¶
Specifies the name of the property of the component that this wrapping binding component references.
- Type:
str
- Components¶
Returns an iterator over the owned components
- CustomFormat¶
Embarcadero Technologies does not currently have any additional information.
- Type:
str
- DataSource¶
Specifies a TDataSource object to which this delegate component links. Use DataSource to determine or set the TDataSource object that connects to a specific dataset.
- Type:
- FieldName¶
Specifies the field name that this wrapping binding component references.
- Type:
str
- 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.
- Type:
- LookupKeyFieldName¶
Embarcadero Technologies does not currently have any additional information.
- Type:
str
- LookupValueFieldName¶
Embarcadero Technologies does not currently have any additional information.
- Type:
str
- OnAssignedValue¶
Callable[[Object, BindingAssignValueRec, Value], None]:
- OnAssigningValue¶
Callable[[Object, BindingAssignValueRec, Value, bool], None]:
- OnEvalError¶
Callable[[Object, Exception], None]:
- Owner¶
Returns the Component Owner