RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterNamedDisplayField.GetInputStyleType Method

Suggests an HTML input type for this adapter field.

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

GetInputStyleType returns htmliTextInput, indicating that this adapter field should be edited by a single line input field. Descendant classes may override this method to suggest a different HTML input type. 

 

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