Jump to content

Control class/Has Caption property: Difference between revisions

From LabVIEW Wiki
m Added VI Scripting Property Category to page
 
Line 35: Line 35:


== History ==
== History ==
{{ambox|text=History information is needed.  What changes have occurred over previous versions?}}
{| class="wikitable"
{| class="wikitable"
! Version
! Version
! Change(s)
! Change(s)
|-
|-
|[[File:LV2018.png|frameless|border|64x64px|LabVIEW 2018|link=LabVIEW 2018]]
|[[File:LV8-2013.png|frameless|border|64x64px|LabVIEW 2011|link=LabVIEW 2011]]
|More info to come.
| This property was added in [[LabVIEW 2011]].
|}
|}
== See Also ==
== See Also ==
{{ambox|text=Add links to internal wiki pages that would also help.}}
{{ambox|text=Add links to internal wiki pages that would also help.}}

Latest revision as of 19:37, 10 June 2020

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 2011 This property was added in LabVIEW 2011.

See Also

External Links