LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically Adjust the Array Control Front Panel Size

Solved!
Go to solution

Hi,

 

I have a combo box control which i drag inside an array.

Since my application is dependent on the initialized array size, i am having a problem on how to auto adjust the number of elements to be displayed on the control panel.

 

Let us say for example, i wanted to have 4 combo boxes on my array, i drag the array to show 4 combo boxes.

The problem is if i wanted to change it run time to either 2 or six elements, it still shows 4 elements inside the control.

 

Is there a way to make it adjust based on the number of elements?

 

0 Kudos
Message 1 of 4
(3,759 Views)
Solution
Accepted by topic author boys2men

I found it....must be a tired day...since the solution is too simple

0 Kudos
Message 2 of 4
(3,758 Views)

If you say you found it, and mark your message as the solution, it helps to tell what your solution is.  That way anyone in the future who comes across your message while searching for the same question gets the benefit of your new found knowledge.

 

I'm guessing you found the NumRows property node for the array control.

0 Kudos
Message 3 of 4
(3,750 Views)

Hi,

 

My bad, actually its NumCols for me. 

 

That won't happen again

0 Kudos
Message 4 of 4
(3,744 Views)