Change the Text in the Title Bar of Panel in LabWindows™/CVI™

Updated May 17, 2023

Reported In


  • LabWindows/CVI

Issue Details

I want to modify the text in the title bar of the user interface panel using a function call in LabWindows/CVI. How can I do this?


Use the SetPanelAttribute function  with your specific panel handle and adjust the ATTR_TITLE attribute to adjust the text title of the panel. Example code shown below.

SetPanelAttribute(panelHandle, ATTR_TITLE, "Your Title Here");

Additional Information

This attribute cannot be adjusted using the SetCtrlVal function since it is not a control. Other panel attributes can be found in the List of Panel Attributes  in the LabWindows/CVI Help.