08-28-2024 02:56 PM
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?
Solved! Go to Solution.
08-28-2024 03:16 PM - edited 08-28-2024 03:19 PM
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?
08-28-2024 03:21 PM
@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
08-28-2024 03:30 PM
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.
08-29-2024 09:18 AM
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
08-29-2024 09:39 AM
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
08-29-2024 10:07 AM
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
08-29-2024 10:13 AM
THANK YOU!! I wrote this years ago and totally forgot that even existed. What a relief!
08-29-2024 10:38 AM
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!