Hi.

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.

Craig



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to