PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..InputType is used to find out and modify the type of input allowed by a control: Duration, Date, Numeric, ...
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.
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
// Find out the type of the "EDT_Date" edit control
IF EDT_Date..InputType = typInputDate THEN
Message("Enter a date")
END
// Find out 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

Finding out 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 the edit controls associated with the Numeric type only).
typInputTextText type.
<Control used>: Control name
Name of control to use.

Modifying the type of a control Hide the details

<Control used>..InputType = <New type>
<Control used>: Control name
Name of control to use.
<New type>: Constant
New type, the possible values are:
typInputDateDate type.
typInputDurationDuration type.
typInputTimeTime type.
typInputCurrencyCurrency type.
typInputNumNumeric type (integer, real, ...).
typInputNumericPreciseNumeric type (for the edit controls associated with the Numeric type only).
typInputTextText type.
Remarks
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment