AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
  • Pivot Table control
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The InputType property is used to identify or change the type of input supported by a control: Duration, Date, Numeric, etc.
This property can be used in the following controls:
  • Edit control.
  • Column of a Table control.
  • Static control.
  • WINDEV Table column displayed by a Combo Box control.
  • WINDEV Editable Combo Box control.
  • WINDEV Pivot Table control.
Remark: The type of a control is defined in the "General" tab of the control description.
Example
// Identify the type of the "EDT_Date" edit control
IF EDT_Date.InputType = typInputDate THEN
Message("Enter a date")
END
// Identify the type of the "EDT_Date" edit control
IF EDT_Date.InputType = typInputDate THEN
Message("Enter a date")
END
EDT_dynamic.InputType = EDT_DateTime.InputType
EDT_dynamic.MemoryFormat = "YYYYMMDDHHmmSSCCC"
EDT_dynamic.InputMask = EDT_DateTime.InputMask
EDT_dynamic = EDT_DateTime
Syntax

Identifying the type of a control Hide the details

<Result> = <Control used>.InputType
<Result>: Constant
Type of control. The possible values are:
typInputCurrencyCurrency type.
typInputDateDate type.
typInputDurationDuration type.
typInputNumNumeric type (integer, real, ...).
typInputNumericPreciseNumeric type (for Edit controls associated with the Numeric type only).
typInputTextText type.
typInputTimeTime type.
<Control used>: Control name
Name of the control to be used.

Changing the type of a control Hide the details

<Control used>.InputType = <New type>
<Control used>: Control name
Name of the control to be used.
<New type>: Constant
New type, the possible values are:
typInputCurrencyCurrency type.
typInputDateDate type.
typInputDurationDuration type.
typInputNumNumeric type (integer, real, ...).
typInputNumericPreciseNumeric type (for Edit controls associated with the Numeric type only).
typInputTextText type.
typInputTimeTime type.
Remarks
WINDEV

Pivot Table control

You can use the following syntaxes to identify and change the type displayed for a value in a Pivot Table control:
{{"Value_Name"}}.InputType = typInputDuration
or:
Value_Name.InputType = typInputDuration
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 08/03/2024

Señalar un error o enviar una sugerencia | Ayuda local