RAD Studio VCL Reference
|
Returns the preferred display style for an adapter field or adapter action.
function GetDisplayStyle(const AAdapterMode: string): string;
__fastcall AnsiString GetDisplayStyle(const AnsiString AAdapterMode);
The AAdapterMode parameter can be used to request the style to be used when the adapter is a particular mode (e.g.; Edit).
Adapter fields typically return one of the following values:
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 |
Button |
Display the adapter action as a button |
Image |
Display the adapter action as an image |
Anchor |
Display the adapter action as a hyperlink |
EventImages |
Display the adapter action as an image with events that change the image as the mouse is moved. |
Adapter actions typically return one of the following values:
Value |
Meaning |
Button |
Display the adapter action as a button |
Image |
Display the adapter action as an image |
Anchor |
Display the adapter action as a hyperlink |
EventImages |
Display the adapter action as an image with events that change the image as the mouse is moved. |
User the server-side script DisplayStyle property to get these values from adapter fields and adapter actions.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|