RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterNamedDisplayField.GetDisplayStyleType Method

Suggests an HTML display type for this adapter field.

Pascal
function GetDisplayStyleType(const AAdapterMode: string): TAdapterDisplayHTMLElementType; virtual;
C++
virtual __fastcall TAdapterDisplayHTMLElementType GetDisplayStyleType(const AnsiString AAdapterMode);

GetDisplayStyleType returns htmldText, indicating that this adapter field should be displayed by simple text. Descendant classes may override this method to suggest other HTML display types. 

 

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