How to show monetary value in a MaskedTextBox

Confused There is a way to show the value a field pic 9(09)V99 in a MaskedTextBox? In my test the value is distorted.
I would like to SHOW the following result in MaskedTextBox. R$  1.500.25

Visual Cobol 2.2  .NET

Thanks,

Parents
  • Verified Answer

    This appears to be a limitation of the MaskedTextBox control in that the format is a fixed length and requires the same number of digits in order to format it correctly.

    You might want to look at another post on this forum at:

    community.microfocus.com/.../10425.aspx

    which covers how to format a standard textbox control to use a currency format.

Reply
  • Verified Answer

    This appears to be a limitation of the MaskedTextBox control in that the format is a fixed length and requires the same number of digits in order to format it correctly.

    You might want to look at another post on this forum at:

    community.microfocus.com/.../10425.aspx

    which covers how to format a standard textbox control to use a currency format.

Children
No Data