Virus scan in progress. Please wait to download attachments.
This example allows the user to specify the position of each border of the front panel. The panelbounds property adjusts the actual pane borders, not including the window borders, scroll bars, tool bars, title bar, etc., so ensure that there is sufficient clearance on all sides if you wish to see anything outside the actual front panel pane. Position values are in pixels and are in terms of absolute screen position (i.e. 0 is the top or left most pixel on your monitor).
Open the VI.
Enter the desired pixel coordinates for the 4 sides of the front panel.
Run the VI.
The VI will position the borders of the front panel to the specified positions.
National Instruments | Mechanical Engineer | http://www.ni.com/support
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.