[noob again]objects and properties and messages

Ken Ray kray at sonsothunder.com
Mon Mar 28 14:21:45 EST 2005


On 3/28/05 1:34 AM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:

> Mikey wrote:
>> I believe devolution only lists properties that are editable, right?
>> What about read-only properties?
> 
> As I'd written, it returns all properties which are returned in "the
> properties", as in:
> 
>     get the properties of button 1
> 
> This includes read-only properties like ID.
> 
> If you find any properties not returned by that function submit a
> Bugzilla report and when they fix it in the engine it'll automatically
> work in 4W Props too.

Well, it looks like RunRev has that covered in the docs under a generic
"other" category:

----------------
Not every property is included in the properties property. The following
types of properties are excluded:

* Read-only properties

* The script property and custom properties

* Synonyms: Only one synonym for each property is included.

* Duplicates: Properties that are functionally duplicated by other
properties are not included. For example, the rectangle property is
included, but not the height, width, top, bottom, left, right, or location
properties, because you can derive all of them from the object's rectangle.

* Properties other than object properties: Global properties, local
properties, properties of a character or chunk in a field, and adjectives
such as short that are implemented internally as properties are all
excluded.

* Others: Some other properties are excluded.
----------------

Personally I think a bug report should be submitted so that "the properties"
actually includes any relevant properties at the time of the request. But
that's me...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
 




More information about the use-livecode mailing list