Recent

Author Topic: TMaskEdit Does Not Work Property CharCase with ecUppercase  (Read 1964 times)

adilsonpazzini

  • New Member
  • *
  • Posts: 29
TMaskEdit Does Not Work Property CharCase with ecUppercase
« on: March 15, 2018, 02:32:04 pm »
Lazarus 1.8.2 for Windows7 32 bits

I'm using the MaskEdit component. but the "CharCase" property option does not work anymore ...

I'm trying to use it as 'ecUppercase', and it's not working, always being like 'ecNormal'

No more thanks

Adilson Pazzini

Bart

  • Hero Member
  • *****
  • Posts: 5275
    • Bart en Mariska's Webstek
Re: TMaskEdit Does Not Work Property CharCase with ecUppercase
« Reply #1 on: March 15, 2018, 04:13:10 pm »
You should use ">" and/or "<"  characters in the EditMask to control this.
E.g. an EditMaks like  '>cccc' will enfoce all charchters to be in uppercase IIRC.
Please look at the sourcecode, where this is explained.

Bart

adilsonpazzini

  • New Member
  • *
  • Posts: 29
Re: TMaskEdit Does Not Work Property CharCase with ecUppercase
« Reply #2 on: March 15, 2018, 06:33:31 pm »
Thank you, I'll try. I appreciate the tip

Adilson Pazzini

 

TinyPortal © 2005-2018