LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tab control issue after upgrading to 2023

Solved!
Go to solution

I cannot access the individual controls with a right-click anymore.  It just brings up the display controls (1st screenshot).  It's a control, not an indicator or anything like that.  I cannot delete it, and changing it to a type def does not help either.  If I make a copy, the copy behaves like I expect (2nd screenshot).  If I have to replace it, that's a lot of my time!  Hopefully I am missing something?

Screenshot 2024-08-28 154748.png

 

2nd screenshot2nd screenshot

0 Kudos
Message 1 of 9
(508 Views)

If you right-click on the border of the tab control or on the tabs themselves, you'll get the context menu for the tab control.  As far as I know, this has always been the default behavior. 

 

Edit: After re-reading your post several times, I think I may have misunderstood your question. Are you trying to access the context menu of the controls within the tab control or the context menu of the tab control itself? 

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 2 of 9
(499 Views)

@aputman I don't think you understand...the ONLY menu I get is in the 1st screenshot.  No-Matter-What.  I can't set any default values on any of the controls.

 

I think this is a bug converting 2020 to 2023

0 Kudos
Message 3 of 9
(491 Views)

You could have a corrupted control somehow. A few options-

 

1- Can you post it here so we can try it on our machines?

2- Try deleting it, then undoing the delete.

3- Can you move it around? You can copy/paste it, so you can interact with it SOMEHOW, right? Does the right click menu work if you move it super far away?

4- Try clearing your compiled object cache and restarting LabVIEW.

5- Can you interact with the individual elements? Try deleting and recreating individual elements. Maybe one sub-element is acting up.

6- Put a new tab control on the diagram, then drag all of the existing sub-controls from the "misbehaving" control onto the new one. Does that work? That'll keep you from having to reconnect ALL of your other wires.

7- If you add a new element to the "misbehaving" control, can you right click THAT one?

8- Maybe delete some of the pages and see if it's a specific tab that's acting up?

9- For each page- drag/drop all controls off the tab control and put them on the front panel. Can you interact with those? If so, put them back on the tab. Did that fix it? Repeat for each page.

0 Kudos
Message 4 of 9
(472 Views)

BertMcMahan,

 

Thanks for the thoughtful response.  

1. unfortunately my employer is not happy with this idea.  Maybe I can get away with posting just the tab control & deleting everything else.

2. I can't delete it from the front panel or the diagram.  In fact, I can't interact with it in any way from the front panel.  From the diagram, I can copy it or make it a constant, but that's it.

3. No moving around or anything like that.  It's 'locked' somehow.

4.  Done, with no improvement

5. No interaction at all with the elements.

6. Good idea, but I can't interact with the controls on tab at all

7. I can't move it, add anything, only the 1st screenshot menu comes up no matter what.

8. I can't interact with the tabs at all

9. same as 8.

 

I'm still working on this before I start rewriting a lot of this vi.  I'll see if it behaves the same on a colleague's PC.

Thanks,

Jim

0 Kudos
Message 5 of 9
(380 Views)

I removed everything but the tab control so my employer can relax.  Very strange...you can add a control but never interact w/it again after.  I had to make all the elements on the tabs constants to get rid of them

0 Kudos
Message 6 of 9
(373 Views)
Solution
Accepted by Brock

It looks like that tab control and the decoration is set to locked.

 

Try this:

-go to block diagram

-double-click on Tab Control

-click Reorder icon at top of screen >> Unlock (see image)

-use arrow keys to move the Tab Control away from the decoration

-you should now be able to drop control/indicators in there normally with the standard right-click menu

 

playerm1_0-1724943995013.png

 

0 Kudos
Message 7 of 9
(364 Views)

THANK YOU!! I wrote this years ago and totally forgot that even existed.  What a relief!

0 Kudos
Message 8 of 9
(359 Views)

Hi Brock,

 


@Brock wrote:

I wrote this years ago and totally forgot that even existed.


Lesson learned: leave some useful comments in the block diagram about those subtle modifications in the frontpanel!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 9
(350 Views)