>Naomi,
>
>It is not just about hiding/showing, the button attributes change and so does the way the buttons react to clicks. Lot buttons have one set of actions employee buttons a completely different set. If I can recreate them as the proper subclass it's a lot cleaner. I was trying to use add property I will try NewObject instead.
>
>Thanks,
>Margaret Gillon
NewObject vs. RemoveObject methods.
But I think there must be yet a better way to apply different dimension for the buttons.
May be you can show some code or some properties for the Employee vs. Job button?
If you want functionality change may be the button class may instantiate a behavioral change object in its click method depending on the button's property?
If it's not broken, fix it until it is.
My Blog