Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

Built-In Formatting

Fields defined in a Masked Edit control are automatically formatted based on the defined Mask property.

The FormattedText property can be used to override the default contents while the control does not have the input focus. The text of the FormattedText property can be defined by the application. As soon as the Masked Edit control loses the input focus, the text defined by the FormattedText property is displayed. If the FormattedText property is set to an empty string or whenever the mouse cursor moves over the edit control, the formatted text based on the Mask property is displayed instead.

An application can also use SftMask's formatting capabilities to display information:

Calculator.FormatNumberFormats a number and returns a string
Calculator.FormatCurrencyFormats a number as a currency value and returns a string.
Calendar.FormatDateFormats a date value and returns a string.
Calendar.FormatTimeFormats a time value and returns a string.
Calendar.GetDateInfoConverts a date into its components.
Calendar.GetTimeInfoConverts a time into its components.

Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.