assuming form name is pa and controls are a1,a2,a3,a4
adding these line so that enter key will focus to the next control.

pa_a1_button=: wd bind 'setfocus a2'
pa_a2_button=: wd bind 'setfocus a3'
pa_a3_button=: wd bind 'setfocus a4'
pa_a4_button=: wd bind 'setfocus a1'

David Porter 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



--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to