LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change text on tab control

This is a very simple question, but I cannot find any clear direction on how to do this!

 

How do I change the text on the tab of a tab control?

 

0 Kudos
Message 1 of 2
(589 Views)

Hi Barney, 
If you double-click on the tab control, a dialog will appear and you can edit it directly as shown in the image below.

Screenshot 2024-02-20 130105.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If you want to do it programmatically, you can refer to the code in the link below on how to edit tab control. 

 

Use InsertTabPage to add tab pages to the tab control.

InsertTabPage (panelHandle, PANEL_TAB, 1, "Tab 1");

 

https://www.ni.com/docs/en-US/bundle/labwindows-cvi/page/cvi/uiref/cviprogramming_with_tab_controls....

0 Kudos
Message 2 of 2
(562 Views)