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: 

How do I move the vi FrontPanel View Programatically

Solved!
Go to solution

How do I move the vi FrontPanel View Programatically?  

 

I guess there are several similar sounding settings for changing the external 'size' and 'position' of the frontpanel window.  But i can't seem to find one for it's internal position - ie the position within the front panel that you change when you use the scroll bars on the side of it.  Where is this?

0 Kudos
Message 1 of 7
(3,656 Views)

VI properties, Front Panels Window, Window Bounds

0 Kudos
Message 2 of 7
(3,654 Views)

Hmmm,

 

Not quite sure if this is what i'm looking for.  I think - correct me if i'm wrong - that this gets\sets the external window position - rather than the internal window position - perhaps 'view' is a better word for it.  Basically i would like to be able to control what the scrollbars on the side of the vi do.

0 Kudos
Message 3 of 7
(3,652 Views)
Solution
Accepted by topic author wideofthemark

How about VI properties, Front Panel -> Panes[] -> Origin?

Message 4 of 7
(3,646 Views)

Excellent.  That's right - thanks.

0 Kudos
Message 5 of 7
(3,637 Views)

And a little VI as example...

 

Heavily modified/extended from original revision.

 

David Koch

0 Kudos
Message 6 of 7
(3,505 Views)

Forgot to add link to the original version : http://forums.ni.com/t5/LabVIEW/A-picture-as-a-dialog-box/td-p/236851

 

David Koch

0 Kudos
Message 7 of 7
(3,492 Views)