>>>IF TYPE(This.ControlSource)='C' >>> if empty(This.InputMask) >>> This.InputMask='!'+REPLICATE('X',LEN(EVALUATE(This.ControlSource))-1) >>> endif >>>ENDIF >>>>>
>if dbgetprop('table_name.fieldname', 'field', 'inputmask') == This.InputMask > *** then you have not overwritten the input mask >else > *** the input mask ws changed >endif >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.