Live search box

dunbarx dunbarx at
Tue May 1 21:53:51 EDT 2018


When you change an ordinary property, you set it to a new value:

set the width of btn 3 to 50.

A custom property is "filled" in the same way:

set the rawText of me to chapterOneOfDonQuixote

Custom properties are created just like variables; you just do it. Try this.
make a new button named "XYZ", and:

set the albertEinstein of btn "XYZ" to "E=MC^2"

Now go into the property inspector and look at the custom property pane. Or
you can always:

answer the albertEinstein of btn "XYZ".

Custom properties can hold any value of any kind of any size. They survive
sessions, unlike global variables, and do not have to be declared.

Go practice.


Sent from:

More information about the use-livecode mailing list