>>We don't have anything at the DBC level. What I meant is that we have a K value for the InputMask of our txtField base class. When we add that txtField class in a form and bound it to a field value, we still have a value of K assigned to it as it comes by default. However, if I change that value at form designer level, I would like to detect that so I can't bypass the condition and have my own input mask. It could be none or something else. I remember there was a function that was returning if we are defaulting or not to the parent class.
>
>Then try:
>local lcMask
>lcMask = This.InputMask
>This.ResetToDefault('InputMask')
>debugout "Default IM: " + This.InputMask
>debugout "New IM [lcMask]: " + lcMask
>if This.InputMask <> lcMask
>else
>endif
Basically, I already had it in my base class Init().
IF NOT PEMSTATUS(This,'InputMask',0)
...
to detect if I had overwritted the default.
The reason it didn't work is because I first changed it in the Format property instead of the InputMask property. <s>