Community Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Table, MCLB, Tree Column Resizing Utility

Overview

This is a set of code that automatically resizes the columns in a Table, Multicolumn Listbox, or Tree automatically based on the control size, and settings defined.

 

Description

Included is the Demo Column Resize VI which has instructions on the front panel.  It allows for setting the column widths based on a constant pixel size, or a percentage of the remaining control size minus the constants.  The intent is to create a control that takes up the entire width of the space in the control, but can expand certain columns based on if a control, or the pane it is fit to, increases or decreases in size.

 

Column Resize Demo.png

 

Hardware and Software Requirements

LabVIEW 2015 or newer 

OpenG Array package

 

Steps to Implement or Execute Code

Unzip code, run the Demo.  The demo shows how the resize works on the three different control types and keeps track of the settings for each unique control reference.

Contributors