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.
Versions 22 and later
WindowsLinux This property is now available for WEBDEV sites in Windows and Linux.
New in version 22
WindowsLinux This property is now available for WEBDEV sites in Windows and Linux.
WindowsLinux This property is now available for WEBDEV sites in Windows and Linux.
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,
  • WINDEV the editable combo boxes,
  • the Table controls,
  • WINDEV the TreeView Table controls,
  • the Looper controls,
  • the groups of controls.

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