Booth, I'm not sure if we are understanding each other or not. What
I'm trying to achieve is for the enter key to have the same effect on
the choice field as the space bar. To choose we need to use the space
bar or the mouse. This would be fine, but in another application, we
have fields defined with the moubtn keyword which can be selected with
the mouse, the space bar and the enter key. We must have the same
behaviour for the choice field. It's such a basic and obvious
requirement, I'm amazed at the difficulty in finding the solution.
Le 14 mars 2012 19:19, Booth Martin<booth@xxxxxxxxxxxx> a écrit :
I have wondered if the results he is trying to achieve might prove
disastrous if implemented. Would anyone really want a radio button or
check box that flipped every time the cursor happened to be in a radio
button or check box field? I'd expect users to be pretty upset to see
I am just wonderin'.... thats all.
But I suppose he could do it programatically by testing the location of
the cursor, and if the cursor is on a button or check box, then flip it
in the C-specs.
On 3/14/2012 9:42 AM, Dave wrote:
The program running the screen is an RPGIII. Could this have any effect?
Le 12 mars 2012 09:23, Dave<dfx1@xxxxxxxxxxxxxx> a écrit :
I can't get my choice field to select by using the cursor key then
enter. I have to use the mouse or the space bar. I've added *AUTOENT
although this should already be the default behaviour.
When my screen is shown, choice 1 is selected. If I debug, put the
cursor on choice 2 with the left/right buttons and hit enter, EREFUS =
A EREFUS 2Y 0B 14 2SNGCHCFLD((*NUMCOL 2)(*AUTOENT))
A CHOICE(1 'choice one')
A CHOICE(2 'choice two')
A CHCUNAVAIL((*COLOR GRN))
Anyone see what's ocurring?
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives