Fascinating.

These two scripts do very different things. Colin, have you known about this 
since HC days?



on mouseup
  put the selectedLine into temp
  do "put X after" && temp
end mouseup


on mouseup
  put "X" after the selectedLine
end mouseup


And which is the selectedLine in a locked field that has no selection? Is this 
implied as the clickLine? Never knew that...



Craig


-----Original Message-----
From: Colin Holgate <co...@verizon.net>
To: How to use LiveCode <use-livecode@lists.runrev.com>
Sent: Sun, Aug 14, 2011 11:14 am
Subject: Re: referring to object names stored in variables


That wasn't what I had referred to. Lock the text of your field, and try this 
script:

on mouseup
   put "bla" after the selectedline
end mouseup


then click on line 1. Where does the text appear?


On Aug 14, 2011, at 1:25 PM, J. Landman Gay wrote:

> From the message box: put "blah" after line 2 of fld 1

_______________________________________________
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

 
_______________________________________________
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