On Jul 31, 12:17 pm, Tom Potts <
karake...@gmail.com> wrote:
> What did you do in the end, can I ask?
>
> Tom
>
> 2009/7/31 Gary <
gwalb...@gmail.com>
>
>
>
> > After much experimentation, I have solved the problem.
>
> > Thanks anyway,
>
> > GaryW
Tom,
In the code where I want this to happen, I remapped the 'End' key
to 'User0' thus:
CURR.END.KEY=TERMINFO("kend")
VOID BINDKEY(CURR.END.KEY,USER0)
where USER0 is defined to be 218
So now it is not used by INPUTFIELD@ or INPUT@ for editing and
returns 218 as a keycode. Then, when INPUTFIELD@ exits, I test for
keycode 218 (USER0) to see if my user pressed 'End'. You can restore
the 'End' key when you are done if you want to avoid breaking other
code.
GaryW