>>
>>The third parameter in SetAll specifies the class, not the baseclass. If you need to set the properties for all objects depending on base class, you will haveto loop through the form.Controls collection and check for Baseclass.
>
>I had previously used the loop through the form.Controls method and replaced it with the SetAll method because it appeared cleaner code.
Nothing keeps you from putting together your own SetAllCustom method in your form and container classes that accepts a property name, a value, and a BaseClass as parameters and does the looping for you. If you find yourself writing this kind of code fairly often, I recommend writing the method once and making ut reusable.
Erik Moore
Clientelligence