Stevio Posted May 5, 2007 Report Share Posted May 5, 2007 Hi guys, girlz Does somebody know if it is possible to autosize my frontpanel to the size of my controls, indicators that are visible? Greetings Quote Link to comment
Chris Davis Posted May 5, 2007 Report Share Posted May 5, 2007 There is an OpenG VI that sizes the window to the "content". Jim posted a blog entry on Resize front panel to largest decoration, which is very similar, and may be more appropriate to what you want to do. Quote Link to comment
Stevio Posted May 5, 2007 Author Report Share Posted May 5, 2007 Thanks for the tip but i dont think this will work... because sometimes i want to show 1 graph, disable the other five graphs(not shown), then autosize. Another time when i run my vi i want to see 3 graphs, disable other three and again autosize my frontpanel. Greetings Quote Link to comment
Michael Aivaliotis Posted May 5, 2007 Report Share Posted May 5, 2007 Why can't you just hide the graphs then execute the openg VI again? Another option is to look inside the openg VI and find out how it's done and create some code that resizes your panel to the exact size you need? Quote Link to comment
Mark Balla Posted May 6, 2007 Report Share Posted May 6, 2007 QUOTE(Stevio @ May 4 2007, 11:54 AM) Hi guys, girlzDoes somebody know if it is possible to autosize my frontpanel to the size of my controls, indicators that are visible? Greetings I have a vi that does this I posted it here I'm not sure what version it is in so here is the 7.1 version http://forums.lavag.org/index.php?act=attach&type=post&id=5737 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.