>That's really great and simple!!!!! Thanks a lot. One additional question
before I try (I'm at home now, so can not test your suggestion till tomorrow, pity, that I've already implemented another suggestion, though it's not too late). If, for instance, for some controls of the form I don't have lSetDefault property, would this.SetAll('lSetDefault',.t.) give me an error?
>
You're welcome.
No, it won't give an error - it just ignores controls that don't have the property being set.
Insanity: Doing the same thing over and over and expecting different results.