NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Aspiration
Posts: 13
0 Kudos
Accepted Solution

How to change the front panel height and width runtime

How to change the front panel height and widht at runtime. Basically i want to decide height or width based certain parameters which i will in the run time.

 

 

Proven Zealot
johnsold
Posts: 7,690
0 Kudos

Re: How to change the front panel height and width runtime

Look at the Front Panel: Panel Bounds property node.  See the Context Help for description of the elements.

 

Lynn

Member
PiDi
Posts: 76
0 Kudos

Re: How to change the front panel height and width runtime

[ Edited ]

viresize.png

ed. johnsold was first:smileyhappy:

Member
Aspiration
Posts: 13
0 Kudos

Re: How to change the front panel height and width runtime

Thanks

 

Member
Dave Bell
Posts: 29
0 Kudos

Re: How to change the front panel height and width runtime

Nice!!  

 

But - dumb question - how do I place a property node linked to the front panel?

 

Dave

Proven Zealot
johnsold
Posts: 7,690
0 Kudos

Re: How to change the front panel height and width runtime

Dave,

 

Not a dumb question.  It is not obvious to someone who has not used property nodes much.

 

Drop a property node in the diagram. If the top part does not say "VI" then pop up on it and Select Class... Navigate through the menus to VI. Then pop up on the lower part and Select Property... And navigate to the desired property.

 

While you are in the menus look around a bit to get an idea of some of the other available properties you might need for your next project.

 

Lynn

Member
Dave Bell
Posts: 29
0 Kudos

Re: How to change the front panel height and width runtime

Thanks!  

 

It was navigating the upper part to VI that had me stumped.  Never dug through "VI Server"...

 

Dave

Member
Aspiration
Posts: 13
0 Kudos

Re: How to change the front panel height and width runtime

Yes PiDi, johnsold was first. But i marked your post as solution because somebody might have questions like how to do with Fp.WinBounds.

 

:smileywink:

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page