Page 1 of 2

tab index

Posted: Mon Aug 16, 2010 12:22 pm
by Wayne C.
In our iseries DDS, we have employed cursor progression by using the DDS function / keyword FLDCSRPRG(fieldname). It seems that Genie ignores this. I've played around in Design mode with the screen property "prevent auto tab" (setting to True) and then setting the Textbox property "tab index" to "1" or "2" or "3"... etc. So far I haven't had any luck. Can someone show me how to accomplish this? I wasn't able to find anything regarding this in the manual / documentation. Was I on the right track and just got the syntax wrong? Thanx in advance.

Wayne C.

Re: tab index

Posted: Mon Aug 16, 2010 1:41 pm
by Rob
This appears to be a logic problem within Genie. We have corrected the problem and it will be published in the next release of Profound UI. We are hoping to release the next update this week.

Thank you for the feedback here.

Re: tab index

Posted: Fri Oct 15, 2010 11:42 am
by Wayne C.
I'm still experiencing this problem even though a couple of new releases have come and gone. Is this something that you're still working on?
Thanx.

Re: tab index

Posted: Mon Oct 25, 2010 1:14 pm
by Alex
What was fixed is the ability to set tab index on fields. Genie will not do this automatically for you, however. You still have to go into the designer and set “prevent auto tab” to true and set the appropriate “tab index” on each field on the screen. Have you tried this?

Re: tab index

Posted: Mon Oct 25, 2010 3:37 pm
by Wayne C.
Somebody had mentioned that to me before, but I couldn't get it to work. I'm fiddling with it right now, but my question is "What exactly does the tab index look like?" I assigned an index of 1 to the first field, 2 to the second field, and so on. That has not worked exactly but at least I see that the the tab progression is being affected by the "prevent auto tab" (true) and a tab index being entered. Can you help me perfect this?

Re: tab index

Posted: Mon Oct 25, 2010 4:51 pm
by Wayne C.
Thanx Alex, I got the indexing to work. I have a related question which I am experimenting with. Is there a way to limit the tab indexing to only point to the data entry fields and the function keys? In other words, when/if I tab away from the last entry field of the screen, I'd like the cursor to go to the first data entry field instead of wandering around to other locations off the application screen. I may figure this out myself but if you have a quick answer, it would be much appreciated.

Thanx again for your help.

Re: tab index

Posted: Tue Oct 26, 2010 8:58 am
by Alex
In the designer, specify the following in the "onblur" event of the last field:

getObj("I_7_17").focus()

Where I_7_17 is the Id of the first field.

Re: tab index

Posted: Tue Oct 26, 2010 11:18 am
by Wayne C.
Thanx, that worked like a charm. I have another question regarding pop-up windows. I'll start another topic for it.

Re: tab index

Posted: Mon Jun 01, 2020 1:20 am
by adSProfound4711
Alex wrote:In the designer, specify the following in the "onblur" event of the last field:

getObj("I_7_17").focus()

Where I_7_17 is the Id of the first field.
This does not work. The cursor jumps to a field in the Chrome Header.

We are using Version 6, Fix Pack6.0.

Any ideas anybody?

Thanks,

Rainer

Re: tab index

Posted: Mon Jun 01, 2020 2:08 am
by Scott Klement
adSProfound4711 wrote:This does not work. The cursor jumps to a field in the Chrome Header.
You are replying to a message from 10 years ago that related to a very specific situation. Are you certain that you have the same situation?

Perhaps you can provide a copy of your Genie skin as well as a Ctrl-F9 dump of the screen so we can see what you are doing?