Why does the system make some properties 'Protected'?
For example, the Panel has a DoubleBuffered property that is protected.
If I want to set it I need to create a new class and in its New set that
property to True.
What is the rational for not letting me imbed a panel and set it to true?
The only difference I can see is with inheritance it gets set after
MyBase.New is run so all other properties get set first. Maybe that's the
reason but I doubt it.
Anyone know why Protected properties are used?
Thanks
For example, the Panel has a DoubleBuffered property that is protected.
If I want to set it I need to create a new class and in its New set that
property to True.
What is the rational for not letting me imbed a panel and set it to true?
The only difference I can see is with inheritance it gets set after
MyBase.New is run so all other properties get set first. Maybe that's the
reason but I doubt it.
Anyone know why Protected properties are used?
Thanks