pasteClipboardInto pastes the text into (the member) itself, 
replacing the previous member.

To avoid, you could either store the old name of the mamber and reuse it, like:

   pasteMem = member(2)
   oldName = pasteMem.name
   oldNr = pasteMem.memberNum
   member(oldNr).pasteClipBoardInto()
   member(oldNr).name = oldName

Or you could paste the text in another member temporarily, and then 
transfer the contents to your "paste recieving member":

   tmpMem = member(2)
   pasteMem = member(3)
   member(tmpMem).pasteClipBoardInto()
   member(pasteMem).text = member(tmpMem).text

Both will work.


-A.


>I was going to say ignore my last message as ive discovered 
>the"pasteClipBoardInto" lingo. BUT.....when I use this it just 
>replaces the existing empty text box with a new one containing the 
>pasted text but changing the name of the sprite. How can I maintain 
>the name of the text sprite but just paste text into it?


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to