This is one, in all the years of programming Rev and LC, I didn't know about.
This weekend, when I was talking about the altButton droptool at LiveCode TV, I mentioned all the properties can be explicitly set outside of the object inspector. For instance to change the width of the object, you can just set it's 'altWidth' property-- and I proceeded to show by going into the LC inspector palette, find the altWidth custom property, and change it. But, nothing happened. I tried again. Nothing happened. I tried with a different custom property. Even though the property value was set, nothing happened. Later I found out I could enter in msg: "set the altWidth of the selObj to 25" and it worked just fine. And the other custom properties worked similarly. It turns out when you set a custom prop from within a LC custom property inspector, it doesn't pass the setProp message. I'm sure this design is on purpose, but I wonder why? -- Chipp Walters CEO, Shafer Walters Group, Inc. _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
