Ed Leafe <[EMAIL PROTECTED]> writes: > > Why not: > > obj.Font.Size = 16 > > That would work, too.
Well, as long as that works, I'm good! > I understand that to you, label.Font.Size is more natural, but I > don't think that that's generally the case. To many, the label *is* > the text, and should be able to be manipulated directly. Also, what > about the color of the label? Is that a property of the Font, or of > the label itself? Should you be able to specify > label.Font.Color="red" and get red text? You could argue it both > ways, and I've seen both ways implemented. wxPython doesn't think so, > but the native OS X font dialog allows you to specify the color of a > selected font. What about label.Font.Visible = False? Should that > make the text disappear, but the background remain? > The point I'm making is that there are all sorts of trade-offs, and > we went with a design that we felt was the most consistent. Being > able to directly modify properties of any control is the choice that > we've made, and so far it's proven to be a sound choice. Thanks, that is precisely what I wanted - to hear (read?) the reasoning behind the design. This explanation certainly sounds reasonable to me. :) - Tal _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
