Position Cursor for fields within a TabPanel not working?

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
bruceanthony
Profound User
Posts: 52
Joined: Mon Sep 19, 2011 3:00 pm
First Name: Bruce
Last Name: Anthony
Company Name: The State Bar of California
Contact:

Position Cursor for fields within a TabPanel not working?

Post by bruceanthony »

The Set Focus works for fields outside of a Tab Panel but not for fields within a Tab Panel.

Can set focus be make to work for fields within a TabPanel?
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Position Cursor for fields within a TabPanel not working?

Post by David »

This seems to work properly in our testing, so long as the field in question is in the tab which is active when the screen displays.

Is your field in one of the non-active tabs when the screen displays?
bruceanthony
Profound User
Posts: 52
Joined: Mon Sep 19, 2011 3:00 pm
First Name: Bruce
Last Name: Anthony
Company Name: The State Bar of California
Contact:

Re: Position Cursor for fields within a TabPanel not working?

Post by bruceanthony »

I assure you that the fields in question are unique and reside in the active panel. After further research I see that my issue is similar to a May 8, 2009 posting that was never resolved. Here is the post:

subject: set focus on a tab panel.

We have created a few screens with all input fields (textboxes) contained within a tab panel. When the screen displays, focus is set to one of the buttons outside the tab panel. Even if we set the "set focus" property to true on one of the textbox fields, initial focus remains with the first button outside the tab panel.

If we don't use a tab panel, focus is automatically set to the first textbox field on the screen and the "set focus" property works fine.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Position Cursor for fields within a TabPanel not working?

Post by David »

I see -- thanks for confirming that.

I'm unable to recreate this using my own test programs -- it seems to work fine as long as we're dealing with the active tab. There must be something different about your screen that causes it to occur.

So, in this case, I would recommend opening an issue with technical support here:

http://www.profoundlogic.com/supptech.rpgsp

What will help very much is if you attach a screen dump file for this issue. To get one:

1. Bring up the screen in a session in Internet Explorer to where it has failed to focus on the appropriate field.

2. In IE's address bar, type the following (exactly, including case) and press Enter:

javascript: pui.downloadJSON();

You'll be prompted to download a small text file that you can attach to your support issue. Please include also a general description (i.e. what field should be focused) of the problem as well, and we'll be glad to have a look.
bruceanthony
Profound User
Posts: 52
Joined: Mon Sep 19, 2011 3:00 pm
First Name: Bruce
Last Name: Anthony
Company Name: The State Bar of California
Contact:

Re: Position Cursor for fields within a TabPanel not working?

Post by bruceanthony »

I am embarrassed to admit that the problem was with me in that I was using version 3.3.4 of your software. When testing with version with 4.0.1, I see that the focus is working. My apologies. I will be updating all versions to 4.0.2 asap. Thank you.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Position Cursor for fields within a TabPanel not working?

Post by David »

No need for embarrassment! Glad it's working well for you now.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests