Tab response, but only when another action takes place?

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
Bryan641
Profound User
Posts: 72
Joined: Fri Oct 01, 2010 5:07 pm
First Name: Bryan
Last Name: Leaman
Company Name: InVue Security
Phone: 704-752-6513 x221
Address 1: 15015 Lancaster Hwy
City: Charlotte
State / Province: North Carolina
Zip / Postal Code: 28277
Contact:

Tab response, but only when another action takes place?

Post by Bryan641 »

I have two tab panels on a screen. One of them is doing exactly what I want when a new tab is selected. It returns control to my program where I see which tab was selected and act accordingly. The other tab panel was just a way to group similar selection criteria together, and I don't need to know when a new tab is selected, but when I redisplay the screen (caused by the other tab panel selection) I want to know which "selection tab" was selected at the time, so I can display with the same one visible initially.

Is there a simple way to do this? Do I need to put a hidden field on the screen bound to a program field, then use javascript to set the value whenever a tab is clicked?

--Bryan
User avatar
Alex
Profound Logic Staff Member
Posts: 233
Joined: Fri Jan 04, 2008 12:10 pm
First Name: Alex
Last Name: Roytman
Company Name: Profound Logic Software
Contact:

Re: Tab response, but only when another action takes place?

Post by Alex »

Bryan,

Right now, the only way to accomplish this is by using a hidden field and some clever JavaScript.
However, in our next update of Profound UI, there is a much easier method. Fields bound to the "active tab" property will automatically receive the selected tab from the client in addition to setting the selected tab. So, all you will have to do is bind the "active tab" property.

Alex
Bryan641
Profound User
Posts: 72
Joined: Fri Oct 01, 2010 5:07 pm
First Name: Bryan
Last Name: Leaman
Company Name: InVue Security
Phone: 704-752-6513 x221
Address 1: 15015 Lancaster Hwy
City: Charlotte
State / Province: North Carolina
Zip / Postal Code: 28277
Contact:

Re: Tab response, but only when another action takes place?

Post by Bryan641 »

This works quite well on the new version. Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests