PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Limits
  • Special cases
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The Property EnSaisie allows to:
  • Find out whether a control or a group of controls is editable or read-only.
  • Modify the input options for a control or for a group of controls.
Android This property is only available for the Table controls in the Android applications.
Versions 20 and later
Android This property is only available for the Table controls in the Android applications.
New in version 20
Android This property is only available for the Table controls in the Android applications.
Android This property is only available for the Table controls in the Android applications.
Versions 22 and later
WEBDEV - Server codeWindowsLinux This property is now available for WEBDEV sites in Windows and Linux.
WEBDEV - Browser code This property is now available in browser code.
PHP This property is now available for PHP sites.
New in version 22
WEBDEV - Server codeWindowsLinux This property is now available for WEBDEV sites in Windows and Linux.
WEBDEV - Browser code This property is now available in browser code.
PHP This property is now available for PHP sites.
WEBDEV - Server codeWindowsLinux This property is now available for WEBDEV sites in Windows and Linux.
WEBDEV - Browser code This property is now available in browser code.
PHP This property is now available for PHP sites.
Example
IF EDT_Price < 100 THEN
EDT_ShippingCost.InputEnabled = True
END
Syntax

Finding out whether a control or a group of controls is editable Hide the details

<Result> = <Element used>.InputEnabled
<Result>: Boolean
  • True if the control or the group of controls is editable,
  • False otherwise.
<Element used>: Control name
Name of control or group of controls to use.

Modify the input options for a control or for a group of controls Hide the details

<Element used>.InputEnabled = <New value>
<Element used>: Control name
Name of control or group of controls to use.
<New value>: Boolean
  • True if the control or the group of controls must be editable,
  • False otherwise.
Remarks

Limits

The Property InputEnabled applies only to:
  • edit controls,
  • WINDEVWindows Mobile the editable combo boxes,
  • the Table controls,
  • WINDEVWEBDEV - Server codeWindows MobilePHP the TreeView Table controls,
  • the Looper controls,
  • the groups of controls.
Versions 20 and later
Android The Property InputEnabled applies only to the fields Table. For other types of controls, you can use the Report property set to Active.
New in version 20
Android The Property InputEnabled applies only to the fields Table. For other types of controls, you can use the Report property set to Active.
Android The Property InputEnabled applies only to the fields Table. For other types of controls, you can use the Report property set to Active.
WEBDEV - Browser code The Property InputEnabled has no effect on the following elements:
  • Table,
  • Looper,
  • Linear looper,
  • Table column.

Special cases

  • Equivalence: The Property InputEnabled to True is equivalent to the Property Report equal to the constant Active except for the fields Grayed s which retain the report Grayed.
  • For the Table and Repeat field, the Property InputEnabled allows to switch from "with input" to "without input" mode..
Minimum version required
  • Version 17
This page is also available for…
Comments
Exemplo de Nao Permitir digitação

//Permitir Digitação
EDT_Base_Faturamento..InputEnabled=True
EDT_Base_Faturamento..Color=Argent
//Não permitir Digitação
EDT_Base_Faturamento..InputEnabled=False
EDT_Base_Faturamento..Color=Bronze

//Frances
//Permitir Digitação
EDT_Base_Faturamento..EnSaisie=Vrai
EDT_Base_Faturamento..Couleur=Argent
//Não permitir Digitação
EDT_Base_Faturamento..EnSaisie=Faux
EDT_Base_Faturamento..Couleur=Bronze


//Blog com Video e exemplo
http://windevdesenvolvimento.blogspot.com.br/2016/03/windev21-curso-236-inputenabled.html
De matos AMARILDO
30 Mar. 2016