// 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: | |
typInputDate | Date type. |
typInputDuration | Duration type. |
typInputTime | Time type. |
typInputCurrency | Currency type. |
typInputNum | Numeric type (integer, real, ...). |
typInputNumericPrecise | Numeric type (for the edit controls associated with the Numeric type only). |
typInputText | Text 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: | |
typInputDate | Date type. |
typInputDuration | Duration type. |
typInputTime | Time type. |
typInputCurrency | Currency type. |
typInputNum | Numeric type (integer, real, ...). |
typInputNumericPrecise | Numeric type (for the edit controls associated with the Numeric type only). |
typInputText | Text type. |
Remarks
Versions 19 and later
New in version 19