RAD Studio VCL Reference
|
Copies the Value property from another field component or assigns another object to the field component.
procedure Assign(Source: TPersistent); override;
virtual __fastcall Assign(TPersistent * Source);
Use Assign to copy the Value property from one field to another. The fields must have compatible data types.
When Source is another field object, Assign calls the AssignValue method, using the Source field's Value property. Calling Assign with the Source parameter set to nil (Delphi) or NULL (C++) assigns a blank value to the field component. Calling Assign with any other object type calls the inherited method, which allows assignment from objects that implement a TField object in their AssignTo method.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|