WebForm.TAdapterDisplayField

From RAD Studio API Documentation
Jump to: navigation, search

WebForm.TCustomAdapterDisplayFieldWebForm.TAdapterDataDisplayMidItems.TWebDataDisplayWebComp.TWebContainedComponent
TAdapterDisplayField

Delphi

TAdapterDisplayField = class(TCustomAdapterDisplayField)

C++

class PASCALIMPLEMENTATION TAdapterDisplayField : public TCustomAdapterDisplayField

Properties

Type Visibility Source Unit Parent
class public
WebForm.pas
WebForm.hpp
WebForm WebForm

Description

TAdapterDisplayField displays an Adapter field as a form field.

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.

See Also

Personal tools
Translations