PrototypeBindSource¶
Qualified name: delphifmx.PrototypeBindSource
- class PrototypeBindSource¶
Bases:
CustomPrototypeBindSourceWrapper for Pascal class TPrototypeBindSource
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
ActiveSpecifies whether the bind source adapter is active.
Specifies whether the bind source is automatically activated.
Embarcadero Technologies does not currently have any additional information.
Embarcadero Technologies does not currently have any additional information.
BOFIndicates whether the bind source adapter is positioned in the first record.
CanModifySpecifies whether the bind source has permission to modify the data.
ClassNameReturns the TObject.ClassName
ComObjectSpecifies the interface reference implemented by the component.
Returns the owned component count
ComponentIndexIndicates the position of the component in its owner's Components property array.
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
DataGeneratorEmbarcadero Technologies does not currently have any additional information.
DesignInfoContains information used by the Form designer.
EditingIndicates whether the data is in edit mode.
EofIndicates whether the bind source adapter is positioned in the last record.
Embarcadero Technologies does not currently have any additional information.
InternalAdapterReturns the internal adapter of the bind source.
ItemIndexSpecifies the index of the current record.
MembersObject:
NameSpecifies the name of the component as referenced in code.
ObserversIndicates the TObservers object added to the TComponent.
Callable[[Object, BindSourceAdapter], None]:
Returns the Component Owner
Embarcadero Technologies does not currently have any additional information.
Specifies an owned collection of scope mappings.
TagStores a NativeInt integral value as a part of a component.
VCLComObjectRepresents information used internally by components that support COM.
- AutoActivate¶
Specifies whether the bind source is automatically activated. Set AutoActive to True for automatic activation.
- Type:
bool
- AutoEdit¶
Embarcadero Technologies does not currently have any additional information.
- Type:
bool
- AutoPost¶
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
- Components¶
Returns an iterator over the owned components
- FieldDefs¶
Embarcadero Technologies does not currently have any additional information.
- Type:
GeneratorFieldDefs
- GetParentComponent()¶
Returns the parent of a component.
- HasParent()¶
Indicates whether the component has a parent to handle its filing.
- OnCreateAdapter¶
Callable[[Object, BindSourceAdapter], None]:
- Owner¶
Returns the Component Owner
- RecordCount¶
Embarcadero Technologies does not currently have any additional information.
- Type:
int
- ScopeMappings¶
Specifies an owned collection of scope mappings. The ScopeMappings property specifies an owned collection whose elements are scope mappings. ScopeMappings are used to add name/value pairs that can be referenced by expressions that reference this source component.
- Type:
ScopeMappings