Contextual Menus

Bill Vlahos bvlahos at mac.com
Sat Jul 26 19:57:06 EDT 2008


What would be the command for "Select All"?

Bill Vlahos

On Jul 21, 2008, at 6:45 PM, J. Landman Gay wrote:

> J. Landman Gay wrote:
>
>> If you just want to operate on the text, you can do things like  
>> "copy the selection".
>
> Actually (she said, replying to herself) it's even easier than that.  
> Rev already knows what's selected, so if you are just using the  
> basic editing commands, all you need in a menupick is this:
>
> on menupick pwhich
>  switch pwhich
>  case "copy"
>    copy
>    break
>  case "paste"
>    paste
>    break
>  case "delete"
>    delete
>   break
>  default
>  end switch
> end menupick
>
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list