Masked_Value - DfBaseForm

Returns a Form or grid value with masking character

Type: Property

Access: Read-Only

Data Type: String

Parameters: Integer iItem

ParameterDescription
iItem (Optional)Item number. Always 0 and optional in forms


Syntax
 Property String Masked_Value

Read Access: Get Masked_Value [iItem] 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


Note:Masking is not supported in ComboForms

See Also

Value | Form_DataType | Form_Mask | Currency_Mask | Numeric_Mask