To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example will demonstrate how to hide a splitter bar in a LabVIEW VI.
Description
Although there is no way to formally hide a splitter bar, it is possible to change its color to match that of the VI background. Although this doesn't hide it entirely, it makes it less apparent to the user. This example uses VI server to get the background color of the VI's front panel and set that as the color of the splitter bar. Again, this does not hide it, but it makes it more inconspicuous.
Requirements
Software:
Steps to Implement or Execute Code
1. Run VI.
2. Observe that splitter color and first pane colors are always same.
Additional Information or Resources
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
If you use the splitter bars from the Classic palette and color them the same as the background, they will be practically invisible at run-time. In this case, I assume you do not want the user to click and drag the splitter, so make sure you lock the splitter as well (or the user will get a cursor change when mousing over it).