How Do I Center a VI When Running It as an Executable?

Updated Nov 7, 2018

Reported In

Software

  • LabVIEW

Issue Details

I want my executable built in LabVIEW to center itself on my monitor when I run it. How do I accomplish this?

Solution

  1. Within the Startup VI of your executable click File >> VI Properties...
  2. Choose the Window Run-Time Position option in the Category dropdown menu.
  3. Change the Position dropdown menu to Centered.
  4. Build your executable as normal.

Additional Information

If you'd like your application to automatically center itself without having to click the run button, you have to select the "Run when opened" option within the Source File Settings. See this link for more information: Why Doesn't My LabVIEW Executable Run Automatically When Opened?

There is no way to center the window automatically upon opening without automatically running the executable. 

WAS THIS ARTICLE HELPFUL?

Not Helpful