VI class/Front Panel Window.Panel Bounds property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 22C
Scope Basic Development Environment
Data Name Front Panel.PanelBounds
Short Name* FP.PanelBounds
Long Name* Front Panel Window:Panel Bounds
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 2
Owning Class Name VI Class
Data Type Numeric Cluster TypeDef data type

Numeric Cluster TypeDef

Property Node Front Panel Window:Panel Bounds
Available in Real-Time Operating SystemYes
Available in Run-Time EngineYes
Available with control VIsYes
Available with global VIsYes
Available with polymorphic VIsNo
Available with strict type definitionsNo
Loads the block diagram into memoryNo
Loads the front panel into memoryYes
Must wait until user interface is idleNo
Need to authenticate before useNo
PermissionsRead/Write
Remote access allowedYes
Settable when the VI is runningYes

The four elements in the cluster are the top, left, bottom, and right values of the interior portion of the front panel, not including the scroll bars, title bar, menu bar, and toolbar. The cluster elements are in global screen coordinates, which are the numbers that refer to coordinates within a computer monitor's screen (rather than an open window).

You can set this property only for VIs with open front panels. If you do not want the VI for which you want to set this property to appear to users, use the Hidden state of the Front Panel Window:State property to hide the front panel of the VI.

When you read this property, LabVIEW returns the front panel bounds of the VI. If the front panel of the VI is not open, LabVIEW returns the front panel bounds of the VI in the position it was last saved. The front panel bounds adjust if you change the size or placement of objects in the front panel. Dynamic changes in data can occur if you alter bound front panel objects.

If you load the VI in a subpanel control, this property is read only.

Elements
Name Description
Left The horizontal coordinate of the left edge of the interior portion of the front panel in global screen coordinates.
Top The vertical coordinate of the top edge of the interior portion of the front panel in global screen coordinates.
Right The horizontal coordinate of the right edge of the interior portion of the front panel in global screen coordinates.
Bottom The vertical coordinate of the bottom edge of the interior portion of the front panel in global screen coordinates.

Uses

History

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

See Also

External Links