A word of caution though, it only works as advertized with #text members.
With #field members, & CapsLock active, it doesn't work.


Bertil Flink
Creative Media
[EMAIL PROTECTED]





----- Original Message ----- 
From: "Howdy-Tzi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 3:24 PM
Subject: Re: <lingo-l> Editable fields


> At 21:37 -0400 06/10/2002, DrEvil wrote:
> 
> >How can I enable a user to "paste" text data that has been copied
> >elsewhere into an editable field in a movie? Thanks!
> 
> Believe it or not you don't have to do anything special. The 
> editShortCutsEnabled property defaults to true in Director, and it 
> allows users to hit ctrl/cmd-v to paste, and ctrl/cmd-c to copy, just 
> like anywhere else in the universe.
> 
> I suppose, if you want to provide a button or something, you could 
> get the ASCII code for that metakey sequence and experiment with a 
> sendSprite call to a behavior attached to the #text or #field sprite 
> in question.
> 
> -- 
> 
>               Warren Ockrassa | http://www.nightwares.com/
>   Director help | Free files | Sample chapters | Freelance | Consulting
>         Author | Director 8.5 Shockwave Studio: A Beginner's Guide
>                     Published by Osborne/McGraw-Hill
>          http://shop.osborne.com/cgi-bin/osborne/0072195622.html
> [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!]
> 

[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