On 5/7/07, Vincent Snijders <[EMAIL PROTECTED]> wrote:
If you just subclass a class to access a protected property, then that property should not have been protected in the first place.
Well maybe the component developer wanted to hide that properties from the end users of the component. Making that property Public makes that impossible. You cannot decrease visibility in descendant classes. You can only increase visibility. The rule of thumb (in Object Pascal) has always been to start with the lowest visibility to accomplish what you want and then increase visibility as needed. -- Graeme Geldenhuys There's no place like S34° 03.168' E018° 49.342' _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives