How can a button not have properties?

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Oct 23 17:09:21 EDT 2015


Hi,

Actually, a property isn't an array. You have to put the properties 
property into a variable to make it an array.

Mark Schonewille
http://economy-x-talk.com

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 10/23/2015 om 23:07 schreef Dr. Hawkins:
> On Fri, Oct 23, 2015 at 1:53 PM, Peter Haworth <pete at lcsql.com> wrote:
>
>> The properties property is an array so a simple put will not display
>> anything.
>>
> Yes, but
>
> put the keys of the properties  of btn "File" of grp "mcp_menu" of  cd 1 of
> stack "old_cp"
>
>
>
> also comes up empty.
>
> I found this when setting the properties of one button to that of another;
> a line of code that got used for a year or so on every single version
> change.  It bombs out of the script with only an error in the message box.
>
>
>





More information about the use-livecode mailing list