TTMSFNCDataBinder.OnBeforeWritePropertyToField Event
Fires before a component property value is written back to a dataset field; set
AAllowtoFalseto suppress the write.
API unit family: TMSFNCDataBinding
Declaring type: TTMSFNCDataBinder
Syntax
OnBeforeWritePropertyToField: TTMSFNCDataBinderBeforeWritePropertyToFieldEvent;
Parameters
| Name | Description |
|---|---|
Sender |
The data binder that raised the event. |
AObject |
The bound component whose property value is being read. |
AItem |
The binding item that connects the property to the field. |
APropertyInfo |
RTTI descriptor for the source property. |
APropertyName |
Name of the source property. |
APropertyKind |
RTTI type kind of the source property. |
AField |
The dataset field that is about to be updated. |
AAllow |
Set to False to suppress the write. |