ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dropdown control panel

I am trying to create a dropdown control panel, but can't seem to be able to make it work like I think it should.  I have several numeric controls that I would like to have visible only when needed.  I currently have them in a cluster, and I make the cluster visible when requested.  I would like for them to drop down rather than just pop into view.  I have tried making them visible with the cluster height minimized, and in a loop increase the cluster height, but this is painfully slow and just looks awkward.  Is there another method that will open them smoothly AND quickly?
Jim

LV 2020
0 Kudos
Message 1 of 4
(2,813 Views)

Are you trying to give the effect of animation..  the panel elongates down until ready to use..  Like in some video games?

If so... humm...  maybe by having a sub-vi containing the controls and programmatically resizing the window of the sub-vi..  However, I've never tried this... <just thinking aloud>

0 Kudos
Message 2 of 4
(2,810 Views)
I suppose it could be thought of as a sort of animation.  The panel is ~1/3 of the full screen size, and it is a little jarring to pop it into view.  I was thinking that if it slid down in 1/4 to 1/2 second it would be a nice effect.
Jim

LV 2020
0 Kudos
Message 3 of 4
(2,804 Views)
I did test the panel size idea with LV 7.1 with 1-point/step increment, but it's slow.

Felix
0 Kudos
Message 4 of 4
(2,786 Views)