| To: | realbasic-nug at lists dot realsoftware dot com |
|---|---|
| Subject: | Method vs Property |
| From: | Robert Livingston <rlivingston at mac dot com> |
| Date: | Fri, 29 Sep 2006 23:05:32 -0700 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
| References: | <20060929170038 dot 743DC153AF65 at lists dot realsoftware dot com> |
When is something a property and when a method? Take the ListBox class as described in the LR Cell is said to be a method ListBox1.Cell(1,2) = "Dog" CellType is said to be a property ListBox1.CellType(1,3) = TrueThe syntax of their use seems to be the same. What makes one a property and the other a method? Its seems strange to me that you can assign a value to a method. (ListBox1.Cell(1,2) = "Dog") _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: How do you sort Object arrays?, Walter Purvis |
|---|---|
| Next by Date: | Re: Method vs Property, Guyren Howe |
| Previous by Thread: | How do you sort Object arrays?, Phil M |
| Next by Thread: | Re: Method vs Property, Guyren Howe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |