LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing folder order in project

Solved!
Go to solution

This may be a dumb question, but is there a way to rearrange the order that the folders show up in a project tree?  It seems by default CVI has them in the order of "User Interface Files", "Source Files", "Include Files", which is fine.  However, I have an old project where the "User Interface Files" for some reason comes after the "Include Files" which is driving me crazy Smiley Frustrated.  How can I change the order that they show up?  There doesn't seem to be a way in the Project Tree and the Edit->Project... window doesn't seem to have a way to do this either.  Thanks!

0 Kudos
Message 1 of 5
(3,340 Views)

You should be able to drag and drop them directly in the project tree

0 Kudos
Message 2 of 5
(3,330 Views)

When I try that, I just get a black circle with the line through it.  That's pretty much the case if I try dragging and dropping anything on that panel.  Seems like I'm missing something obvious.

0 Kudos
Message 3 of 5
(3,325 Views)
Solution
Accepted by topic author tstanley

This is not the most elegant solution but the "brute force" approach is to open the project file in a text editor, locate the [Folders] section and arrange the listed folders to meet your needs. Once the folders are arranged, rename the Folder keys numerically from 0 to n.

Message 4 of 5
(3,319 Views)

Thanks.  Not the prettiest solution, but it worked.

0 Kudos
Message 5 of 5
(3,314 Views)