RAD Studio VCL Reference
|
Returns a string value that suggests an HTML editing style for this adapter field.
function GetInputStyle(const AAdapterMode: string): string;
__fastcall AnsiString GetInputStyle(const AnsiString AAdapterMode);
GetInputStyle implements the InputStyle property of this adapter field. The InputStyle property can be used in server-side script to determine an appropriate control for editing the field's value.
AAdapterMode indicates the current mode of the parent dataset adapter. It is one of the following values:
GetInputStyle returns one of the following strings:
Value |
Meaning |
TextInput |
Edit the field using a single line input field. |
PasswordInput |
Edit the field as a password field. |
Select |
Edit the field using a single selection list. |
SelectMultiple |
Edit the field using a multiple selection list. |
Radio |
Edit the field using radio buttons. |
CheckBox |
Edit the field using check boxes. |
TextArea |
Edit the field using a multi-line input field. |
File |
Edit the field using a file upload input field. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|