RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DRIntf.UpdateAttr Function

Updates an attribute set to match the properties of a field component.

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

DRIntf

Call UpdateAttr to update an attribute set so that it matches the properties of the field component specified by the Field parameter. If the field is in the field dictionary, only those attributes that differ from the field identified by FieldID are saved in the attribute set. 

The AttrID parameter identifies the attribute set to update. If AttrID is NULL, the attribute set associated with the FieldID parameter is updated. 

 

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