|
|
|
|
InputType (Property) In french: TypeSaisie
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.
- Static control.
Table column displayed by a Combo Box control. Editable Combo Box control. Pivot Table control.
Remark: The type of a control is defined in the "General" tab of the control description.
// 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: | | typInputCurrency | Currency type. | typInputDate | Date type. | typInputDuration | Duration type. | typInputNum | Numeric type (integer, real, ...). | typInputNumericPrecise | Numeric type (for Edit controls associated with the Numeric type only). | typInputText | Text type. | typInputTime | Time 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: | | typInputCurrency | Currency type. | typInputDate | Date type. | typInputDuration | Duration type. | typInputNum | Numeric type (integer, real, ...). | typInputNumericPrecise | Numeric type (for Edit controls associated with the Numeric type only). | typInputText | Text type. | typInputTime | Time type. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|