03-01-2014 02:46 PM
Is there a way to maintain the order of the tabs of CVI windows?
Let's assume my project consists of three source code files, one UIR file, and two include files. All are loaded into the editor so that I can easily switch between them by clicking on the respective tab. Let's assume I want to have the tabs of source code files arranged to the left of the tabs of the include files...; whereas I can rearrange the tabs to my liking, it appears that when I quit and restart CVI this order is lost... It appears that rearranged tabs are not saved in the CWS file.
Solved! Go to Solution.
03-01-2014 03:47 PM
Years ago I asked the same question myself. I'll try to locate the answer, but the principles are that int the CWS file or elsewhere is stored the order in which files have been seen in the workbench when the IDE was closed, and they are restored respecting that order.
I'm not comfortable with this solution too: I like to have UIRs, sources and includes listed left to right, associated with Ctrl-1, Ctrl-2 and so on with a specific association that makes me easier to locate functions, but it seems it's not possible. For this reason every time I reopen a project I close all windows and reopen them in the "proper" orden.
03-01-2014 03:55 PM
Here's the discussion I was referring to.
03-02-2014 12:11 AM - edited 03-02-2014 12:27 AM
Wow, what a memory, that alone deserves a kudos
But also, how disappointing, nothing has changed since then...
...so I have added this suggestion to the Idea Exchange, it's here
03-02-2014 12:28 PM
03-02-2014 02:21 PM
Hi Eren,
I'm pretty optimistic that Luis will read this post 😉
Concerning the z-plane-order: I think it does make sense if one is using released windows, but it should be updated for those that use the confined, tabbed workspace.
03-03-2014 03:43 AM
In order to elaborate a little on this subject, I have tried in the past to address this problem using CVI macros but faced with two major problems:
Situation hasn't changed up to CVI2012 so no workaround on the macro side for this subject
03-03-2014 03:31 PM
Looks like I owe each of you an apology. In that earlier discussion I had admitted that the current method was not ideal, but in the 8+ years since then, there was no follow-through to improve it.
Not that I necessarily agree with ebalci that the z-plane isn't important. It is important, if we want Ctrl+Tab to behave correctly, which we do. However, it should be possible to maintain the z-plane order while also preserving the left-to-right order of the tabs.
I see that Wolfgang has already created a suggestion in the Idea Exchange, but I also created a bug report now (456105), since it makes it more likely to be addressed sooner.
Sorry about this.
Luis
03-03-2014 10:52 PM
03-04-2014 12:35 AM
@ebalci wrote:
Thank you Luis.
It's always been a comfort to know that you are over there and sorting things out 🙂
I couldn't have phrased it any better
Yeah, probably it's best amd fastest to call it a bug 9 years overdue...