LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

User interface browser oddities

The user interface browser is a powerful tool to navigate among objects while designing the user interface, but unfortunately it has an annoying bug: apparently it regenerates every time you switch back and forth to another window of the workspace.

Let me explain: even if you right-click on the browser and collapse all elements so that when you click on 'Panels' only the list of panels appears, if you switch to another window (it doesn't matter whether another UIR or C or H file) and return to the previous window, the browser is now expanded at the maximum detail.

This is annoying in case of UIR files with several panels and objects when you are editing a particular element in a panel and collapse the browser tree to locate that element easily: if you happen to switch the window (e.g. because you go and look at that object code) when you return to the UIR editor the browser tree is expanded at full detail Smiley Surprised and you need to relocate your object among a crowded list Smiley Mad

Since jumping from an UI element to the corresponding item in the browser tree is still a missing feature, at least preserve the state of the bowser tree to avoid wasting time each time to locate the desired item in it!



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 1 of 3
(3,424 Views)

Hi Roberto, and thanks for reporting this issue.

Based on my testing, this issue is manifested in 2 different flavours. Let me describe them to you hoping that this will at least make the issue more predictable:

  1. Adding a control on a certain panel and changing the active selected item in the UI Object Browser to a different one, causes the tree to be expanded so that the item representing the initially added control becomes visible, after switching to a different window and back.
  2. The behavior that you described: collapsing all panels and then switching to a different window and back causes the panels to be expanded.

I have filed this bug under CAR #602984.

 

Best regards,

- Johannes

0 Kudos
Message 2 of 3
(3,395 Views)

Hello Johannes and thanks for taking a look into this.

I can understand that tree expands and gets the new control selected when I add a.g. a button on a panel. This is reasonable and correct in my opinion.

The tree does not change its state nor the active control in it if I click or even double-click on anothoer control on the same or a different panel.

 

What is difficult for me to understand and very unconfortable is why it changes if I switch the window. Let's start with the tree fully collapsed: only "Panels" and "Menu bars" elements are shown. If I click on Panels a list of panels shows, each of them collapsed. I can then expand one of them and look at individual controls. Now run again the "Collapse all" option ans switch to another window than back to the UIR editor: the tree is collapsed byt if you expand the panel item, it si fully expanded!

This is particularly annoying when I want to look at control arrays structure, since they are the last elements shown in panel objects list.

 

Anyway, keep us informed on when there will be updates on this subject.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 3 of 3
(3,392 Views)