Front Panel:Run-Time Position:Custom Method

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Short Name: FP.Run-Time Position.Custom

Requires: Base Development System

Class: VI Methods

To Use: Create a method.

Configures the referenced VI to open its front panel in a custom position every time the VI runs. If the VI is running when you call this method, the change does not take effect until the next time the VI runs.

If you want to change the position of the VI while it is running, use the Front Panel Window:Window Bounds property instead.

This method is similar to selecting Custom from the Position pull-down menu on the Window Run-Time Position page of the VI Properties dialog box.


Data typeNameRequiredDescription
PositionNoIndicates the top left coordinate of the front panel window position.
SizeNoIndicates the size of the window. For single-pane front panels, Size refers to the content area of that pane, not including the scroll bars. For multi-pane front panels, Size refers to the entire front panel, including any visible scroll bars. LabVIEW returns an error if you set the width or height to 0 or set the width or height less than the minimum window size.


The following table lists the characteristics of this method.

Data typeNo return value
Available in Run-Time EngineYes (Read/Write)
Available in Real-Time Operating SystemNo
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes
Must wait until user interface is idleNo
Available with control VIsYes
Available with global VIsYes
Available with strict type definitionsNo
Available with polymorphic VIsYes


Not Helpful