Thank you to all that replied to my question--my learned and esteemed
colleagues!
I got an education, and got the job done!
Thanks again,
Peter Bogdanoff
UCLA
On Jul 25, 2015, at 11:49 AM, J. Landman Gay jac...@hyperactivesw.com wrote:
On 7/25/2015 9:22 AM, Sri wrote:
The parenthesis
Hi Thierry:
It does exactly the same as my example - whether you put it in a button or
from the message box. It refers to the field object without the parenthesis,
and to the button object with parenthesis. This is due to the fact that the
parenthesis is evaluated before the rest, as I had hinted.
Wprothero wrote
Sri
It may be bad practice to use the word field in the name of a field.
However, i suspect there's more to it.
Hi Bill:
This is just a quick example I contrived to prove a point.
I never use field for a field's name; I give (very) descriptive names to
my objects!
Regards,
Hi Sri,
Try this:
on mouseUp
put the width of field Field1
put the width of (field Field1)
end mouseUp
but put this script in a button, not the message box!
This should give you the trick.
HTH,
Thierry
Thierry Douez -
The parenthesis placements are key in such references as they change the
order of command processing.
For example:
1. Create a button Test1 of width 82 (say)
2. Create a field Field1 of width 168 (say) containing the text: /button
Test1/
3. Type into message box
put the width of field Field1
Sri
It may be bad practice to use the word field in the name of a field. However,
i suspect there's more to it.
Bill
William Prothero
http://ed.earthednet.org
On Jul 25, 2015, at 8:22 AM, Sri sri...@gmail.com wrote:
The parenthesis placements are key in such references as they change the
On 7/25/2015 9:22 AM, Sri wrote:
The parenthesis placements are key in such references as they change the
order of command processing.
For example:
1. Create a button Test1 of width 82 (say)
2. Create a field Field1 of width 168 (say) containing the text: /button
Test1/
3. Type into message box
First put the reference into a variable and then
Set the width of myVar to x
--
Kind regards,
Mark Schonewille
Economy-x-Talk
Http://economy-x-talk.com
Share the clipboard of your computer over a local network with Clipboard Link
http://clipboardlink.economy-x-talk.com
Op 25 jul. 2015 om
Also control is a synonym for field, button, image.
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Peter Bogdanoff
Sent: Friday, July 24, 2015 8:06 PM
On Jul 24, 2015, at 5:05 PM, Peter Bogdanoff bogdan...@me.com wrote:
I want to reference that data like this:
set the width of item 1 of line 1 of field “MyField” to item 2 of
line 1 of field “MyField”
How do I script the stuff inside the ? Sometimes that item will be a
10 matches
Mail list logo