RAD Studio VCL Reference
|
Returns the preferred editing style for an adapter field.
function GetInputStyle(const AAdapterMode: string): string;
__fastcall AnsiString GetInputStyle(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.; Browse).
Adapter fields typically return one of the following values:
Value |
Meaning |
TextInput |
Edit the adapter field using a single line input field. |
PasswordInput |
Edit the adapter field as a password field. |
Select |
Edit the adapter field using a single selection list. |
SelectMultiple |
Edit the adapter field using a multiple selection list. |
Radio |
Edit the adapter field using radio buttons. |
CheckBox |
Edit the adapter field using check boxes. |
TextArea |
Edit the adapter field using a multi-line input field. |
File |
Edit the adapter field using a file upload input field. |
Use the server-side script InputStyle 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!
|