RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterDisplayField Class

TAdapterDisplayField displays an Adapter field as a form field.

Pascal
TAdapterDisplayField = class(TCustomAdapterDisplayField);
C++
class TAdapterDisplayField : public TCustomAdapterDisplayField;

WebForm

Add TAdapterDisplayField as a child of a TAdapterFieldGroup to display an Adapter field. The TAdapterFieldGroup specifies the Adapter used by TAdapterDisplayField. 

Use the properties and methods of TAdapterDisplayField to: 

Specify the Adapter field whose value the component displays. 

Specify a caption for the field. 

Specify when the field should be hidden. 

Customize the appearance of the column. 

Specify whether the field is used for input or display only. 

TAdapterDisplayField supports multiple display type: text, list, and image. The display type can be set explicitly or TAdapterDisplayField will automatically choose a display type that is appropriate for the Adapter field. 

TAdapterDisplayField supports multiple input types: Text, Password, Select, MultipleSelect, Radio, CheckBox, TextArea, and File. The input type can be set explicitly or TAdapterDisplayField will automatically choose an input type that is appropriate for the Adapter field. 

TAdapterDisplayField instances are not used in grids. TAdapterEditColumn provides equivalent functionality in a grid context. 

TAdapterDisplayField is a minimal implementation of TCustomAdapterDisplayField. To extend the features of this component, define your own descendant of TCustomAdapterDisplayField

 

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