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 type | Name | Required | Description |
---|---|---|---|
Position | No | Indicates the top left coordinate of the front panel window position. | |
Size | No | Indicates 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 type | No return value |
Available in Run-Time Engine | Yes (Read/Write) |
Available in Real-Time Operating System | No |
Settable when the VI is running | Yes |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access allowed | Yes |
Must wait until user interface is idle | No |
Available with control VIs | Yes |
Available with global VIs | Yes |
Available with strict type definitions | No |
Available with polymorphic VIs | Yes |