Archived:Deleting a Tab From a Tab Control Deletes Control References in LabVIEW NXG

Updated May 1, 2023

NI does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In


  • LabVIEW NXG 4.0
  • LabVIEW NXG 5.0

Issue Details

I have a Tab Control with several tabs. In the later tabs (not Tab 0), I have a control or indicator. On the block diagram, I have created a reference to the control or indicator for use with an property node.  If I delete a tab before the tab with the control or indicator in (i.e. the control is in tab 2 and I delete tab 0), using the Items pane on the right hand side, the control reference on the block diagram is deleted, even through the original control or indicator is still there. If I have a large application, it's time consuming to recreate all the references that were deleted. When I check the behaviour in LabVIEW, the control or indicator referenced isn't deleted. 

Method to delete the tab that deletes the reference:

Missing control reference after tab was deleted: 




There is a known bug with LabVIEW NXG (currently tested LabVIEW NXG 4.0 and 5.0) where if the tab from the Tab Control is deleted using the Items pane, then this can cause references to break or be deleted from controls or indicators in the tab control. A bug report has been filed for this. 

The suggested workaround is to select the tab you wish to delete and press the Delete key on the keyboard:
This will preserve the control or indicator references, meaning the references won't have to be recreated.