GObject class/Position property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 632A800
Scope Basic Development Environment
Data Name Position
Short Name* Position
Long Name* Position
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 36
Owning Class Name GObject Class
Data Type Numeric Cluster TypeDef data type

Numeric Cluster TypeDef

Property Node Position
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/Write
Remote access allowedYes
Settable when the VI is runningYes

Position of the top left corner of the bounding rectangle of the object on the front panel window in terms of left and top coordinates.

The bounding rectangle of the object includes all visible parts of the object. For example, if the object label is visible and you wire the top coordinate to this property, LabVIEW positions the top of the label at the coordinate you wired. If the object label is not visible, LabVIEW positions the top of the remaining visible parts of the object at the coordinate you wired.

Note LabVIEW sets the origin for this property when you create a VI. When you scroll the owning pane, the origin does not change but instead scrolls with the owning pane. If you do not move the object, this property returns the same coordinates for the object regardless of whether you scroll the owning pane. Use the Origin property with this property to calculate the current position of an object in relation to the owning pane. For most front panel objects, this property returns the position of the object relative to the origin of the owning pane. For panes, this property returns the position of the pane relative to the global panel coordinate system.

If you attempt to reposition an object that is grouped with other objects, LabVIEW repositions only the object you specify, not the whole group.

Elements Position:Left

Position:Top


Uses

History

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

See Also

External Links