There may be a couple of ways to do this.
1) Using Grid to replace a set of label/edit pairs,
which has handlers for keyboard, etc.
http://www.jsoftware.com/jwiki/Grid/Events
2) Using Win32 Window Subclassing.
http://support.microsoft.com/kb/168795
You hook up to parent view and analyze if
HWND is your edit controls, and if event is WM_KEYDOWN
(or WM_CHAR) and PostMessage a WM_CHAR with Enter
--- David Porter <[EMAIL PROTECTED]> wrote:
> First, thanks for all the help the members of this list have given me.
> My project is nearly done, the client is pleased, and I will shortly
> receive a few bucks., I would probably have given up without being
> pointed in the right direction over the last two months.
>
> The problem is that I have a gui form that has several edit controls on
> it. In the form editor, I can set the Tab order, but there doesn't seem
> to be any way to have the tab also act as if I had hit enter first. It
> is annoying to have to hit enter and then tab to the next edit control.
> Microsoft's Visual Studio form editor has control of all sorts of
> parameters that seem to be absent in the J form editor.
>
> 1. Can the tab key be made to operate as if enter+tab were pressed?
> 2. Could a form made in the Microsoft Visual studio, that was created
> with constraints such as numbers only, caps only, tab order, and enter
> when tab (or something like that) be used in J without lots of programming?
>
> Thanks again,
> Dave Porter
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
____________________________________________________________________________________
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now.
http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm