LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

limit scrollbars usage to usefull area?

hello all,

I have been asked to restrict the front panel scrollbars to scroll the front panel not beyond the displayed component. How is it possible to do that in Labview (I use LV 8.0)?

I have this requirement because the user is able to scroll very far away from the front panel component and he might not be able to find again the displayed components easily.

Thanks in advance for your help.
0 Kudos
Message 1 of 6
(4,555 Views)
Hello Fabrice,
open the example finder (Help->Find Examples..) and type in "scrollbar" at the Search tab. The "Cluster with Scrollbar.vi" shows you how to do it. But you see, you have to handle all this by your program.
To hide the scroll bars from the panel, go to the VI- options (ctrl+i), then select "Window appearance", click at "Customize" and uncheck the "show vertical/horizontal scroll bar" checkbuttons.
Greets, Dave
Greets, Dave
0 Kudos
Message 2 of 6
(4,547 Views)

I almost always hive the FP scrollbars in GUI applications.  It is not intuitive for a user so have to search the FP area for a particular control.  I believe that FP should only show the user the minimal required information to complete their task.  Consider usinf tab controls menus and popup pannels to eliminate the need for large amounts of FP real-estate.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 3 of 6
(4,543 Views)
I can simply not remove the scrollbar since the user must see 4 large graphs at the same time. It is OK on a 1280x1024 screen but I definitely need scrollbars on a 1024x768 display.

I thought that there was a built in front panel property to limit the scrollbars movement but as I can see in your answers, there is not.

The trick you told me in the example is not usable for me since I have around 100 components on the panel and I meet some Labview bugs when using clusters and picture of them (see my thread here: http://forums.ni.com/ni/board/message?board.id=170&message.id=212629).

Using the cluster is also a very bad thing for me since I will have to use property nodes in order to access individual items with some very very large arrays. The performance in my software is critical and I should not use any trick that need more power (even "unbundle by name" components are not efficient according to memory).

Thanks anyway for your answers
0 Kudos
Message 4 of 6
(4,534 Views)
I would say forget about the scroll bars all together and dymically resize your graphs based on work space.
0 Kudos
Message 5 of 6
(4,530 Views)
Hi Fabrice
you can set the option "scale all objects on front panel as the window resizes" in the VI properties. And then I remember that in LV8 you can exclude panes from being scaled, so only the graphs are affected. But I haven't done this yet & I have only LV7 available at the moment.
Greets, Dave

Message Edited by daveTW on 02-02-2007 09:07 PM

Greets, Dave
0 Kudos
Message 6 of 6
(4,516 Views)