LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to programmatically resize vi for different screen resolutions ?

Hi,

     I have been struggling with this,How can i built a vi that should run for different screen resolutions (on different pc's).

There are several threads on forum , But i dont find the exact solution for it.

I have already tried with VI properties in the VI but i dont think its working.

Can someone please help me ?

 

Thanks and regards,

Shivkant Paswan

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

Use splitters!

I learned how to do this from the webcast on "User Interface Design Best Practices" here: http://uk.ni.com/summeroflabview (week2)

Message 2 of 7
(3,829 Views)

 

 

i agree on the comment above...

 

 

it is really a PITA to make code to be able to resize the VI. if you can avoid it. do it. if no  use the splitters advice

CLAD, CTD
0 Kudos
Message 3 of 7
(3,796 Views)

Yup it is a pain to use panes, but that is the easiest method I've found which meets my requirements.  Learn to use panes and splitters effectively, and then learn their limitations and workaround when you find those limitations.  In general LabVIEW should handle multi-resolutions, and resizing better but these are the tools we have today.

0 Kudos
Message 4 of 7
(3,772 Views)

Hello All,

                I dont find the method of using splitters feasable,what if i dont want any splitters on my front panel as per my application requirements.

Can anyone suggest some programmatic way to do it without effecting the appearance of my front panel?

 

 

Thanks,

 Shivkant Paswan 

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

Use the 'Classic' style splitter and make it the same colour as your background, it then becomes invisible. (lock it too, to prevent the user from resizing)

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

@Phil_ wrote:

Use the 'Classic' style splitter and make it the same colour as your background, it then becomes invisible. (lock it too, to prevent the user from resizing)


Yup this is one of those limitations I mentioned earlier.  Another is handling tab controls.

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