RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapterMultiValueField.GetInputStyleType Method

Suggests an HTML input type for this adapter field.

Pascal
function GetInputStyleType(const AAdapterMode: string): TAdapterInputHTMLElementType; override;
C++
virtual __fastcall TAdapterInputHTMLElementType GetInputStyleType(const AnsiString AAdapterMode);

GetInputStyleType overrides TAdaperNamedDisplayField's GetInputStyleType method. If the ValuesList property is not nil (Delphi) or NULL (C++), GetInputStyleType returns htmliCheckBox indicating that this adapter field should be edited using a group of check boxes. If the ValuesList property is nil (Delphi) or NULL (C++), then htmliTextInput is returned. htmliTextInput indicates that the adapter field value should be edited with a single line input. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!