Stephen, Well, that was easy. I was expecting some "selectedText" code.
Thanks, Jim > Date: Sun, 13 Mar 2011 10:17:23 -0700 > From: stephen barncard <stephenrevoluti...@barncard.com> > To: How to use LiveCode <use-livecode@lists.runrev.com> > Subject: Re: Having fits with the menu bar > Message-ID: > <aanlktinxywa+4d8qa888gnwte-f-_bfgxg2kcf8t8...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > I don't know, James, it's pretty complex: > > > > switch pWhich > > case "Cut" > > cut > > break > > case "Copy" > > copy > > break > > case "Paste" > > paste > > break > > case "Clear" > > if the selectedField is not empty then put > empty into the selectedField > > break > > case "Select All" > > select character 1 to -1 of the selectedField > > break > > end switch > > On 13 March 2011 08:06, James Hurley <jhurley0...@sbcglobal.net> wrote: _______________________________________________ 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