02-19-2024 04:10 PM
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?
02-19-2024 11:10 PM - edited 02-19-2024 11:11 PM
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.
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");