Masked_Value - DfBaseForm
Returns a Form or grid value with masking character
Type: Property
Access: Read-Only
Data Type: String
Parameters: None
Parameters
| Parameter | Type | Description |
|---|---|---|
| iItem | Integer |
Syntax
Property String Masked_Value
| Access Type | Syntax |
|---|---|
| Read Access: | Get Masked_Value to StringVariable |
Description
Masked_Value returns a form or grid value with masked formatting characters. You can use Value to return value of a form or grid without masking characters.
Sample
In this example, assume that oForm contains a currency mask.
Procedure ShowValues
String sValue
Set Value of oForm1 to 1234.56
Get Masked_Value of oForm1 to sValue
Send Info_Box sValue "Masked Value" // should be: masked: $1,234.56
Get Value of oForm1 to sValue
Send Info_Box sValue "Unmasked Value" // should be: masked: 1234.56
End_Procedure
| Col 1 | Col 2 |
|---|---|
| Note: | Masking is not supported in ComboForms |
See Also
Value | Form_DataType | Form_Mask | Currency_Mask | Numeric_Mask