|
|
|
|
|
InputType (Property) In french: TypeSaisie
The property InputType property lets you know or modify the type of input allowed by a field: Duration, Date, Numeric, etc. This property can be used in the following controls: - Edit control.
- Table Column control.
- Static Text control.
Table column displayed by a Combo Box control. Combo Box control with input. Pivot Table control.
Note The type of a field is defined in the "General" tab of the field description.
IF SAI_Date.TypeSaisie = typInputDate THEN
Message("Saisissez une date")
END
IF SAI_Date.TypeSaisie = typInputDate THEN
Message("Saisissez une date")
END
SAI_dynamique.TypeSaisie = SAI_DateHeure.TypeSaisie
SAI_dynamique.FormatMémorisé = "AAAAMMJJHHmmSSCCC"
SAI_dynamique.MasqueSaisie = SAI_DateHeure.MasqueSaisie
SAI_dynamique = SAI_DateHeure
Syntax
Identifying the type of a control Hide the details
<Result> = <Control used>InputType
<Result>: Constant Type of control. The possible values are:
| | typInputCurrency | Monetary type. | typInputDate | Type date. | typInputDuration | Type duration. | typInputNum | Numeric type (integer, real, ...). | typInputText | Text type. | typInputTime | Time type. | typS saisieNumériquePrécis | Numeric type (for Edit controls associated with the Numeric type only). |
<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 | Monetary type. | typInputDate | Type date. | typInputDuration | Type duration. | typInputNum | Numeric type (integer, real, ...). | typInputText | Text type. | typInputTime | Time type. | typS saisieNumériquePrécis | Numeric type (for Edit controls associated with the Numeric type only). |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|