|
RAD Studio VCL Reference
|
Returns a string value that suggests an HTML display style for this adapter field.
function GetDisplayStyle(const AAdapterMode: string): string;
__fastcall AnsiString GetDisplayStyle(const AnsiString AAdapterMode);
GetDisplayStyle implements the DisplayStyle property of this adapter field. The DisplayStyle property can be used in server-side script to determine an appropriate control for displaying the field's value.
AAdapterMode indicates the current mode of the parent dataset adapter. It is one of the following values:
GetDisplayStyle returns one of the following strings:
|
Value |
Meaning |
|
Text |
Display the field as read-only text |
|
Image |
Display the field as an image |
|
List |
Display the field as a list of read only values |
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|