LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

An idea of how to create a front panel

Hi all,

Want to create a front panel using LV 8.  The panel using a vertical splliter bar to divide the panel into 2 sub panels, the left will be small , the right will be somewhat bigger than the left and as the main infomation display area. when click the splitter bar , the left panel can auto hide or collapse , if  click it again , the left panel  can open again . Please give a suggestion of achieving this . Thanks.


David 
0 Kudos
Message 1 of 5
(2,968 Views)
LabVIEW 8 has splitter bars: New in LabVIEW 8: Splitter Bars
0 Kudos
Message 2 of 5
(2,945 Views)
hi,

but can customize the splitter bar's behavior ? I mean that the bars length, the sub panel's size , etc.


 
0 Kudos
Message 3 of 5
(2,920 Views)

Hi David,

Yes, you can customize the positions of splitters, and as a result, control the size of the panes on your front panel.  Here are some of the different properties you can change on a splitter bar:

  • Position on panel (i.e. horizontal pixel location of vertical splitter or vertical pixel location of horizontal splitter)
  • Foreground and background color
  • Whether or not it is "locked" (i.e. can't be repositioned by the user while the VI is running)
  • The sizing attributes of the attached pane(s) when the splitter is re-positioned

There are also several properties of the Pane class that relate to the panes on either side of a splitter.  Let me know if you'd like more information about those (although I suppose you could look for yourself at the LabVIEW 8.0 Evaluation version).

Good luck,

-D

0 Kudos
Message 4 of 5
(2,914 Views)
There are also several examples that ship with LabVIEW, so you should take a look at these as well.
0 Kudos
Message 5 of 5
(2,890 Views)