propertyNames

Mike Bonner bonnmike at gmail.com
Sun Jul 24 10:30:57 EDT 2016


It should error on both, and probably shouldn't display the list on the
first.  the propertynames returns a list of engine wide properties, and
(unless this has changed in a recent dp) can't be confined to an object.
(meaning it doesn't know what to do with the object reference)  Hopefully
catching this sort of error (and the associated message) will become more
reliable and consistent as versions progress.

On Sun, Jul 24, 2016 at 8:00 AM, Richmond <richmondmathewson at gmail.com>
wrote:

> Does anyone know why when I run this:
>
> on mouseUp
>    put the propertyNames of btn "SuperTab"
> end mouseUp
>
> while a long list ends up in the messageBox
>
> the IDE "throws a bluey" and states:
>
> "button "Button": execution error at line 2 (Handler: can't find handler)
> near "of", char 12
>
> and if I try this:
>
> on mouseUp
>    put the propertyNames of btn "SuperTab" into fld "XYZ"
> end mouseUp
>
> nothing appears in the field at all?
>
> Richmond.
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list