BaseObjectBindSource¶
Qualified name: delphifmx.BaseObjectBindSource
- class BaseObjectBindSource¶
Bases:
BaseLinkingBindSource
Methods
Embarcadero Technologies does not currently have any additional information.
Connects methods to component events if they are named using the following pattern: Prefix_ComponentName_EventName.
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.
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.
Returns the parent of a component.
Indicates whether the component has a parent to handle its filing.
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.
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.
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.
Embarcadero Technologies does not currently have any additional information.
Attributes
Specifies whether the bind source adapter is active.
Specifies whether the bind source is automatically activated.
Indicates whether the bind source adapter is positioned in the first record.
Specifies whether the bind source has permission to modify the data.
ClassName
Returns the TObject.ClassName
ComObject
Specifies the interface reference implemented by the component.
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.
Returns an iterator over the owned components
DesignInfo
Contains information used by the Form designer.
Indicates whether the data is in edit mode.
Indicates whether the bind source adapter is positioned in the last record.
Returns the internal adapter of the bind source.
Specifies the index of the current record.
Object:
Name
Specifies the name of the component as referenced in code.
Observers
Indicates the TObservers object added to the TComponent.
Returns the Component Owner
Tag
Stores a NativeInt integral value as a part of a component.
VCLComObject
Represents information used internally by components that support COM.
- Active¶
Specifies whether the bind source adapter is active. Read Active to determine whether the bind source adapter is active. By default, the Active property is set to True. When Active is False, the bind source does not have an adapter or its adapter is not active. When Active is True, the bind source has an active adapter.
- Type:
bool
- ApplyUpdates()¶
Embarcadero Technologies does not currently have any additional information.
- AutoActivate¶
Specifies whether the bind source is automatically activated. Set AutoActive to True for automatic activation.
- Type:
bool
- BOF¶
Indicates whether the bind source adapter is positioned in the first record. Read BOF (beginning of file) to determine if ItemIndex is located in the first record. If BOF is True, the bind source has an adapter and the active record is the first one. BOF is also True if there is no active record. BOF is False in all other cases.
- 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_”.
- CanModify¶
Specifies whether the bind source has permission to modify the data. Check CanModify to determine if data can be edited. When CanModify is set to True, the bind source can edit the data. When CanModify is set to False, the bind source cannot edit the data.
- Type:
bool
- Cancel()¶
Embarcadero Technologies does not currently have any additional information.
- CancelUpdates()¶
Embarcadero Technologies does not currently have any additional information.
- ComponentCount¶
Returns the owned component count
- Components¶
Returns an iterator over the owned components
- Delete()¶
Embarcadero Technologies does not currently have any additional information.
- Edit()¶
Embarcadero Technologies does not currently have any additional information.
- Editing¶
Indicates whether the data is in edit mode. Read Editing to determine whether the bind source adapter can currently edit the data. If the Editing property is True, the data provided by the bind source adapter is in editing mode. Otherwise, it is False.
- Type:
bool
- Eof¶
Indicates whether the bind source adapter is positioned in the last record. Read Eof (end of file) to determine if ItemIndex is located in the last record. If Eof is True, the bind source has an adapter and the active record is the last one or there are no records. Eof is False if the ItemIndex is located in any other position.
- Type:
bool
- First()¶
Embarcadero Technologies does not currently have any additional information.
- GetFormatLink(AFieldName: str) IEditFormatLink ¶
Embarcadero Technologies does not currently have any additional information.
- GetParentComponent()¶
Returns the parent of a component.
- HasParent()¶
Indicates whether the component has a parent to handle its filing.
- Insert()¶
Embarcadero Technologies does not currently have any additional information.
- InternalAdapter¶
Returns the internal adapter of the bind source. The InternalAdapter property holds the internal adapter of the bind source. InternalAdapter uses the GetInternalAdapter method to return the internal adapter of the bind source.
Note: The GetInternalAdapter method always returns nil. Descendant classes must override this method to return the internal adapter.
- Type:
BindSourceAdapter
- IsRequired(AFieldName: str) bool ¶
Embarcadero Technologies does not currently have any additional information.
- IsValidChar(AFieldName: str, AChar: unicodechr(str)) bool ¶
Embarcadero Technologies does not currently have any additional information.
- ItemIndex¶
Specifies the index of the current record. ItemIndex holds the index of the current record of the dataset the bind source adapter is currently on. The first item has the index 0, the second item has the index 1, and so on. If no item is selected, the value of ItemIndex is -1.
- Type:
int
- Last()¶
Embarcadero Technologies does not currently have any additional information.
- Locate(KeyFields: str, KeyValues: Value) bool ¶
Embarcadero Technologies does not currently have any additional information.
- Lookup(KeyFields: str, KeyValues: Value, ResultFields: str) Value ¶
Embarcadero Technologies does not currently have any additional information.
- Members¶
Object:
- Next()¶
Embarcadero Technologies does not currently have any additional information.
- Owner¶
Returns the Component Owner
- Post()¶
Embarcadero Technologies does not currently have any additional information.
- Prior()¶
Embarcadero Technologies does not currently have any additional information.
- Refresh()¶
Embarcadero Technologies does not currently have any additional information.