Page 1 of 1

Tab response, but only when another action takes place?

Posted: Fri Oct 29, 2010 4:12 pm
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

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

Posted: Sun Oct 31, 2010 5:14 pm
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

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

Posted: Fri Nov 19, 2010 5:31 pm
by Bryan641
This works quite well on the new version. Thanks!