Having fits with the menu bar

James Hurley jhurley0305 at sbcglobal.net
Tue Mar 15 00:07:47 EDT 2011


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 <stephenREVOLUTION2 at barncard.com>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Subject: Re: Having fits with the menu bar
> Message-ID:
> 	<AANLkTinXyWa+4D8QA888gnWtE-f-_bfGXG2KCf8T8BUT at 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 <jhurley0305 at sbcglobal.net> wrote:





More information about the use-livecode mailing list