Graeme Geldenhuys schreef:
On 5/7/07, Vincent Snijders <[EMAIL PROTECTED]> wrote:

An advantage of having it public, is that you can pass a TControl to the widget interface and it can access the Color property without resorting to cast to
decendants. I don't know if this technique is actually used though.


True, but where do you draw the line with such properties...? Many
others can fall in this category as well.



If you just subclass a class to access a protected property, then that property should not have been protected in the first place.

Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to