Has Caption
- Updated2025-07-30
- 1 minute(s) read
Returns TRUE if the control has a caption.
A control has a caption after you complete one of the following actions:
- Display the caption by right-clicking the control and selecting Visible»Caption from the shortcut menu.
- Programmatically get or set the caption text by using the Text property of the control.
Note LabVIEW continues to store the caption for the control even if you hide the caption or use the text editor tool to delete the text of the caption. This behavior enables LabVIEW to display the caption if you choose to make it visible again. Therefore, this property continues to return TRUE for hidden captions.
Remarks
The following table lists the characteristics of this property.
| Short Name | HasCaption |
| Data type | ![]() |
| Permissions | Read Only |
| Available in Run-Time Engine | Yes |
| Available in Real-Time Operating System | Yes |
| Settable when the VI is running | No |
| Loads the front panel into memory | No |
| Need to authenticate before use | No |
| Loads the block diagram into memory | No |
| Remote access allowed | Yes |
