Adds a new field information item to the collection
Source position: fpobserver.pp line 292
public function TMediatorFieldInfoList.AddFieldInfo: TMediatorFieldInfo; overload; |
const APropName: string; |
AFieldWidth: Integer |
):TMediatorFieldInfo; overload; |
const APropName: string; |
const ACaption: string; |
AFieldWidth: Integer |
):TMediatorFieldInfo; overload; |
const APropName: string; |
const ACaption: string; |
AFieldWidth: Integer; |
AAlignment: TAlignment |
):TMediatorFieldInfo; overload; |
Newly created field info item
APropName |
|
Property name for the new field |
AFieldWidth |
|
Width for the new field column |
APropName |
|
Property name for the new field |
ACaption |
|
Caption for the new field column |
AFieldWidth |
|
Width for the new field column |
APropName |
|
Property name for the new field |
ACaption |
|
Caption for the new field column |
AFieldWidth |
|
Width for the new field column |
AAlignment |
|
Alignment for the new field column |
The AddFieldInfo method creates a new field information item and adds it to the collection. Multiple overloads are available to specify different combinations of property name, width, caption, and alignment.
The method returns the newly created field info object for further customization if needed.