RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DRIntf.UpdateField Function

Updates a field component to match the associated attribute set in the Data Dictionary.

Pascal
procedure UpdateField(Field: TField; const FieldID: TFieldID; const AttrID: TAttrID);
C++
UpdateField(TField Field, const TFieldID FieldID, const TAttrID AttrID);

DRIntf

Call UpdateField to change the properties of a field component so that they match the associated attribute set in the Data Dictionary. 

Specify the field to update as the Field parameter. 

Specify the ID of the corresponding field in the Data Dictionary using the FieldID parameter. This value can be obtained using FindFieldID

Specify the attribute set that acts as a source using the AttrID parameter. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!