|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Requires: Base Development System
Class: VI Methods (ActiveX)
Returns the position of the LabVIEW window at run time.
For single-pane front panels, minimum size refers to the content area of that pane, not including the scroll bars. For multi-pane front panels, minimum size refers to the entire front panel, including any visible scroll bars.
object.FPGetRuntimePos([type], [position], [size], [monitor], [useCurPos], [useCurSize])
|type||FPRuntimePos||Returns whether the front panel is unchanged, centered, maximized, minimized, or has a custom setting.|
|position||Array of variants||A pair of numbers that represents the coordinates of the top left corner of the front panel window. Each element in the pair occupies one element of an array that contains two elements.|
|size||Array of variants||A pair of numbers that represents the height and width of the front panel window. Each element in the pair occupies one element of an array that contains two elements.|
|monitor||short||Specifies the monitor on which the front panel window appears, if you have multiple monitors. The value 0 is the primary monitor and is the default value. If you specify a value other than 0, the VI runs on that monitor. If you specify a monitor number greater than the number of monitors on the system, or if you specify a negative number, LabVIEW returns an error. The monitor number corresponds to the video card you plug the monitor in to.|
|useCurPos||Boolean||Returns the value of the Use Current Position checkbox in the Window Run-Time Position dialog box in LabVIEW.|
|useCurSize||Boolean||Returns the value of the Use Current Size checkbox in the Window Run-Time Position dialog box in LabVIEW.|