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(). end quote But to answer your question I believe your are correct because that's how I think of properties and attributes. But of course there is a difference. Properties are managed by get/set methods. And attributes are not. Beyond that description I'll leave for the engineers on the list. Johnf _______________________________________________ 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]
