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