Altering custom properties
Mark Schonewille
m.schonewille at economy-x-talk.com
Tue Apr 6 13:08:41 EDT 2010
Hi Jeff,
You could create a custom property set with
cTest[1] = 1
cTest[2] = 2
cTest[3] = 3
etc.
This would allow you to change cTest[3] as follows:
set the cTest[3] of me to "***"
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
Economy-x-Talk is always looking for new software development
projects. Feel free to contact me for a quote.
Op 6 apr 2010, om 19:02 heeft Jeff Massung het volgende geschreven:
> Is there a simple way of just changing a chunk in a custom property
> without
> fetching, changing, and resetting it? For example, let's say I have
> a custom
> property "cTest" that has "1,2,3,4,5,6" in it, and I'd like to make
> item 3
> of cTest "***" instead.
>
> I can't do either of the following:
>
> set item 3 of the cTest of btn "foo" to "***"
> put "***" into item 3 of the cTest of btn "foo"
>
> I know I can do:
>
> get the cTest of btn "foo"
> put "***" into item 3 of it
> set the cTest of btn "foo" to it
>
> But I'm just hoping there's a nicer shortcut for me to use
> instead. ;-)
>
> Jeff M.
More information about the use-livecode
mailing list