On 7/21/12 11:53 AM, Thomas McGrath III wrote:
OK, Here's a question:

Why does this line of code work in a button but throw an error when run in the 
message box?

set the rect of control "Container" to ((the left of this card + 5),(the bottom of group "nav 
bar" + 5),(the right of this card - 5),(the top of group "toolbar" - 5))

I see that occasionally. I think it has to do with the contortions the message box has to go through to evaluate expressions. Sometimes they don't work. Sometimes you can put the expression into a variable first and then execute the "set" using the 2-line message box.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
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