RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DRIntf.GetAttrID Function

Returns the ID of the attribute set associated with a field.

Pascal
function GetAttrID(const FieldID: TFieldID): TAttrID;
C++
TAttrID GetAttrID(const TFieldID FieldID);

DRIntf

Call GetAttrID to get the ID for the attribute set associated with a field. The FieldID parameter is the Data Dictionary ID for the field whose attribute set is desired. 

If the FieldID is not valid or the field does not have an associated attribute set, GetAttrID returns a null ID. 

 

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