CanConvert

[property icon] CanConvert

Determines whether value can be converted to alternative currency

Enumerated type, possible values are:

Default This is not a currency field
Enable This is a currency field. It is displayed in the normal or alternative currency according to the current display mode
Disable This is a currency field. It is always displayed in the normal currency
Always This is a currency field. It is always displayed in the alternative currency

Applies to: Grid , GridCell , KCMLEdit

Introduced in KCML version 5.02


>

CanConvert

The CanConvert property property is used to define a KCML edit field as being a currency field. It requires the Type$ property to be set to a Numeric type (e.g. N13.4). When displaying values, the client's current locale currency settings are used (decimal and thousands separator character, and the number of decimal places to the right of the decimal).

A currency field can also be displayed in an alternative currency form (especially to support the Euro). See Alternative currency support for more information. In versions of KCML prior to 6.00 this property has a Boolean type; in 6.00 it is an enumeration, although TRUE and FALSE will still work, interpreted as Enable and Default respectively.

.editControl1.CanConvert = &.Enable

See also

Grid methods, properties and events. GridCell methods, properties and events. KCMLEdit methods, properties and events.