Synchronize two folder containers when changing tabs
Hello Community,
Is it possible to synchronize two folder containers in a way that if we change the tab in the first container it changes automatically in the second one.
Best regards,
Ahmed Lattali
Answers
-
Hi Ahmed Lattali. I'm pretty sure that this would not be possible using two folder containers on the screen. A possible workaround would be:
- Create two screens - identical in every way (save as will be useful here), but one will display the contents of 'Tab 1' - i.e. two DataViews, one above the other.
- The second screen contains the contents of 'Tab 2'
- Now we need to make it look as though each screen is actually made up of a folder object with two tabs. See below for examples, as this probably illustrates this best.
Neither of these screens use a folder object, but it looks like they do.
In the first screenshot when I click Price it opens a Price screen with that 'tab' in blue and the Units 'tab' is now white. I have not used this method in exactly the way that you need, but the same principle applies. This method allows you to also have a completely different select on each 'tab', because each tab is a separate screen.
Of course for you example you would probably want to build two more screens - one for Tab 1 top and Tab 2 bottom and another one for Tab 2 top and Tab 1 bottom.
Agreed you have more screens to build upfront - but it is a workaround. Maybe somebody else could suggest an alternative approach.
2 -
A solution could be to insert both dataviews into the same folder, in this way:
- create a folder
- add a Matrix inside the first tab and set it in vertical mode
- add the first Dataview of the top box of the Matrix
- add the second dataview of the bottom box of the matrix.
- add another matrix to the folder (tab2 is created)
- add the two dataviews inside the matrix
and so on...
5 -
Hello Phil Marshall,
Thanks for you reply ,
I implemented your solution to see how it looks, the switch between the two screens is seamless,the inconvenience of this workaround for my case is that you need to refresh screens when switching, because the user will do some data entry in tab1, launch a procedure and see the results in the second tab.
I need also to link dataviews to keep the same scrolling, which is not possible with two screens, the solution provided by Samuele Marchetto using one folder container and matrix seems to do the job .0 -
0
-
You're welcome, we are here for helping each other :-)
0