Tab doesn't change colours on return from a called programm

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
leomoore
Profound User
Posts: 35
Joined: Thu Mar 15, 2012 3:42 pm
First Name: Robert
Last Name: Moore
Company Name: General Parts Company
Phone: 770-818-4736
Address 1: 3100 Windy Hill Rd.
City: Atlanta
State / Province: Georgia
Zip / Postal Code: 30339
Country: United States
Contact:

Tab doesn't change colours on return from a called programm

Post by leomoore »

We are using tabs instead of a list menu. A simple example is thusly.

The user is at the home tab which turns white with blue lettering.

The user clicks the ChgPassword button.

The Home tab turns blue with white lettering while the ChgPassword dialog is active.

User clicks Exit in the ChgPassword dialog, which returns to the Home tab.

The Home tab remains blue with white lettering until it is clicked although the ChgPassword dialog is gone.

Do you have any advice on how to make a tab return to its colouring when it is the active screen, again?
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: Tab doesn't change colours on return from a called programm

Post by Brian »

Are you setting the Active Tab property before redisplaying the screen?
leomoore
Profound User
Posts: 35
Joined: Thu Mar 15, 2012 3:42 pm
First Name: Robert
Last Name: Moore
Company Name: General Parts Company
Phone: 770-818-4736
Address 1: 3100 Windy Hill Rd.
City: Atlanta
State / Province: Georgia
Zip / Postal Code: 30339
Country: United States
Contact:

Re: Tab doesn't change colours on return from a called programm

Post by leomoore »

It does not appear that we are setting when returning from programmes called from a tab panel selection. We use it to determine next programme, but not when we use back or next.

Are you saying that if while on the home tab (0) we click a button that calls another programme, upon return from that programme we should reset the active tab to 0?

What about if we click on Change Password or Logout but exit without changing the password or without logging out?
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: Tab doesn't change colours on return from a called programm

Post by Brian »

Without knowing your application, it is hard to know what is happening. By binding the Active Tab property to an RPG field, you can explicitly control which tab is selected when the screen is displayed. I would recommend binding both the Active Tab and Tab Response properties to the same field name. This will ensure that your application returns to the same tab on redisplay. If this does not improve your situation, we will need to know more about your application.
leomoore
Profound User
Posts: 35
Joined: Thu Mar 15, 2012 3:42 pm
First Name: Robert
Last Name: Moore
Company Name: General Parts Company
Phone: 770-818-4736
Address 1: 3100 Windy Hill Rd.
City: Atlanta
State / Province: Georgia
Zip / Postal Code: 30339
Country: United States
Contact:

Re: Tab doesn't change colours on return from a called programm

Post by leomoore »

Sounds reasonable. I will give your suggestion a try. Thanks, again, for all the help you and your compatriots have provided.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest