|
RAD Studio VCL Reference
|
Returns the preferred mode of an adapter field.
function GetViewMode(const AAdapterMode: string): string;
__fastcall AnsiString GetViewMode(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.; Insert).
Adapter fields typically return one of the following values:
|
Value |
Meaning |
|
Display the adapter field as an input field, by default use the style returned by the GetInputStyle method. | |
|
Display |
Display the adapter field as a read-only field, by default use the style returned by GetDisplayStyle. |
|
ToggleOnAccess |
Display as an input field in the end-user has modify rights, otherwise displays as a read-only field. |
Use the server-side script ViewMode property to get these values from adapter fields.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|