How do I combine Control & Return in a field

Jan Sælid janselid at hotmail.com
Mon Mar 1 20:11:34 EST 2004


Perfect. Thanks!

Jan


On 2 Mar 2004, at 10:01:03 Sarah Reichelt wrote:

>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


More information about the use-livecode mailing list