LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

question about project and user interface

there is a way to do 2 user interfaces in 1 project? or even 3?
and if there is where can i learn how to do it
building game as project and want to make more than 1 user interfaces to make it more organized instead of putting 4-5 panels in 1 interface

0 Kudos
Message 1 of 4
(1,171 Views)

I'm not sure I understand this question...

 

What you can do is:

  • Have one single .UIR file with several panels inside
  • Have several .UIR files each with a single panel inside
  • Use a combination of both methods

Does one of these possibilities suit your needs? If not, what are you aiming to?

 



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 4
(1,150 Views)

i think combined
planning to do 
1st UIR with 2 panels
2nd UIR with 1 panel
3rd UIR with 1 panel

prefer this way and not all panels on 1 UIR since it will look very messy 
but dont know how to do that with and still be able to move from panel to panel with a button 
and move data when needed between them

0 Kudos
Message 3 of 4
(1,115 Views)

@Luxord  ha scritto:

but dont know how to do that with and still be able to move from panel to panel with a button and move data when needed between them



This is not complicated:

  • Create your .UIR files as you want
  • #include associated .h files in your source files
  • Be sure to load your panels passing the correct .UIR file name to LoadPanel

LoadPanel () is the only instruction to which the physical .UIR file is relevant: after panel are loaded they are treated as in-memory objects referred to by their handles while setting/getting panel and control attributes and values.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 4
(1,096 Views)