John wrote: > On Tuesday 23 March 2010 06:58:06 am Ricardo Aráoz wrote: > >> John wrote: >> >>> You know it's sort of a difficult thing to recall that if it's a Property >>> it starts with an uppercase and when it's an attribute/method it's lower >>> case. >>> >> I'm confused here. I've googled and got even more confused. >> I always thought attribute and property were synonyms for a variable >> bound to a class and that a method was a procedure bound to a class. >> But it would seem I am wrong. Any help here? >> >> Thanks. >> > > Let me quote one of the tutorials: > > All attributes and methods begin with a lower-case letter. E.g.: > dabo.ui.areYouSure(), self.requery(), self.sortOrder > > Property names begin with a capital letter. E.g.: self.Form, self.Caption. > > It's easy to get confused - evidence my earlier mistake with Hide(). > But my point is that you can not know (without looking deep into the framework) if it's a property or an attribute, and therefore the upper or lower case won't help you to determine if the prop/att belongs or not to wx.
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ 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/[email protected]
