LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

resizing Listbox programatically

LV6.1
I want to adust the size of a listbox in that way, that it automatical fits into it´s FP. The user can resize the FP, so the Listbox should follow.
I know, you can poll the current size of the FP and then you ......
But is there a smarter way than polling ?
0 Kudos
Message 1 of 4
(2,847 Views)
Somewhere in the vi properties (window dimensions?) there is a special option that you can set to automatically resize objects on the FP with window resizing. Hope this can help you.
0 Kudos
Message 2 of 4
(2,847 Views)
The option is "window size" under vi properties. You can then check "scale all object on front panel as the window resizes". You can also use property nodes to increase the number of rows but not the bounds of the listbox. hope this helps
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
Message 3 of 4
(2,847 Views)
That´s in principle right, but the more often you resize the FP (>10) the more moves the listbox out of the FP frame.
0 Kudos
Message 4 of 4
(2,847 Views)