Re: Works in a button but not in the message box

2012-07-22 Thread Thomas McGrath III
gt; > If you substitute "card CardName|cardNumber|cardID" for "this card", does the > problem go away? > > > Craig Newman > > > > -Original Message- > From: J. Landman Gay > To: How to use LiveCode > Sent: Sat, Jul 21, 2012 1:

Re: Works in a button but not in the message box

2012-07-21 Thread dunbarx
t, Jul 21, 2012 1:26 pm Subject: Re: Works in a button but not in the message box 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 o

Re: Works in a button but not in the message box

2012-07-21 Thread J. Landman Gay
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

Re: Works in a button but not in the message box

2012-07-21 Thread Dr. Hawkins
On Sat, Jul 21, 2012 at 9:53 AM, Thomas McGrath III wrote: > 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)) > try "put the name of this card" in the message box. It isn't

Works in a button but not in the message box

2012-07-21 Thread Thomas McGrath III
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)) Message ex