How do I combine Control & Return in a field

Sarah Reichelt sarahr at genesearch.com.au
Mon Mar 1 19:01:03 EST 2004


This is untested but should work:

on returnInField
   if the controlKey is down then
     -- put your "add new page" scripts here
   else
     pass returnInField
   end if
end returnInField

Cheers,
Sarah

On 2 Mar 2004, at 9:16 am, Jan Sælid wrote:

> How is it possible to check the controlKey together with the returnKey 
> in a field?
>
> This combination seems to be a built-in key-combo in rev. But I'm not 
> sure what it does...can't find it in the docs. Is there a way to 
> disable it? It is a commonly used combination for adding a new page in 
> a document....
>
> Jan
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>



More information about the use-livecode mailing list