RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TField.AttributeSet Property

Specifies the name of an attribute set in the data dictionary to apply to the field component.

Pascal
property AttributeSet: string;
C++
__property AnsiString AttributeSet;

An attribute set defines the display and format properties of a field component that are displayed in a data-aware control at design time. It also defines any constraint and default properties of the field component. Attribute sets are only available on Windows. 

Attribute sets are stored in the data dictionary by name so that at design time developers can create and apply the same set of attributes to different field components in one or more datasets. When an attribute set is assigned to a field component at design time and that field component is owned by a TQuery or TStoredProc dataset, AttributeSet contains the name of the assigned attribute set. 

 

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