PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • 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 applies to the following controls:
  • Edit control.
  • Column of a Table control.
  • Versions 15 and later
    Static control.
    New in version 15
    Static control.
    Static control.
  • Versions 17 and later
    WINDEV Table column displayed by a Combo Box control.
    New in version 17
    WINDEV Table column displayed by a Combo Box control.
    WINDEV Table column displayed by a Combo Box control.
  • Versions 17 and later
    WINDEV Editable Combo Box control.
    New in version 17
    WINDEV Editable Combo Box control.
    WINDEV Editable Combo Box control.
  • Versions 19 and later
    WINDEV Pivot Table control.
    New in version 19
    WINDEV Pivot Table control.
    WINDEV Pivot Table control.
Remark: The type of a control is defined in the "General" tab of the control description.
Versions 15 and later
Android This property is now available for Android applications.
New in version 15
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
Universal Windows 10 App This property is now available in Windows Store apps mode.
Versions 20 and later
Android This property is now available for table columns in Android applications.
iPhone/iPad This property is now available for table columns in iPhone/iPad applications.
New in version 20
Android This property is now available for table columns in Android applications.
iPhone/iPad This property is now available for table columns in iPhone/iPad applications.
Android This property is now available for table columns in Android applications.
iPhone/iPad This property is now available for table columns in iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
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:
typInputDateDate type.
typInputDurationDuration type.
typInputTimeTime type.
typInputCurrencyCurrency type.
typInputNumNumeric type (integer, real, ...).
typInputNumericPreciseNumeric type (for Edit controls associated with the Numeric type only).
typInputTextText 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:
typInputDateDate type.
typInputDurationDuration type.
typInputTimeTime type.
typInputCurrencyCurrency type.
typInputNumNumeric type (integer, real, ...).
typInputNumericPreciseNumeric type (for Edit controls associated with the Numeric type only).
typInputTextText type.
Remarks
Versions 19 and later
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
New in version 19
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
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
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment