Control class/Has Caption property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 6332022
Scope VI Scripting
Data Name HasCaption
Short Name* HasCaption
Long Name* Has Caption
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 6
Owning Class Name Control Class
Data Type Boolean data type

Boolean

Property Node Has Caption
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
PermissionsRead Only
Remote access allowedYes
Settable when the VI is runningNo

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.

Uses

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links