LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

resize front panel array single columns

Solved!
Go to solution

I have a bunch of columns on my front panel and some of them contain lon strings while others only have a max of 2-3 character strings in them.

I am looking for a way to resize each column without resizing all the others at the same time. If i have them all the same lengh and the lengh of the max string i get the array is far too large to fit on the screen space availble and navigating labview VI leaves a lot to be desired.

 

Its purly cosmetic but would help me see information clearer, and since the information is all locked up in the long strings its not going to work well with what im doing next.

0 Kudos
Message 1 of 5
(4,170 Views)
Solution
Accepted by Ace-Scottie

Look at multicolumn listboxes or tables. They allow customization of column widths and are specifically designed for user interfaces.  Keep your data in an array on the block diagram for processing but use the specialty indicators on the front panel.

 

Lynn

Message 2 of 5
(4,161 Views)
Both solutions have their advantages. Listboxes allow you to select or double click on items but the strings are a property of the control so are sometimes not as convenient to use. Tables are not as fancy but their data type is a 2D array of strings so they are very easy to use. But at the end of the day either will work.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 3 of 5
(4,140 Views)

Thanks was a great help.

 

Also this may be a tricky one. but dont want to start thread after thread.

 

How can i recieve the very top row index of the listbox. say if i scoll down 4 lines the top index would be 4. (Top index being to index of the topmost visable row of the listbox)

 

im looking to create a code that say "from index (top) get column-index(2) as (This-string) "

0 Kudos
Message 4 of 5
(4,134 Views)
Solution
Accepted by Ace-Scottie

There is a Top left visible cell property node. That should have the information you want. If not, browse through the other property nodes for a listbox.

 

Lynn

 

 

Message 5 of 5
(4,108 Views)