Karissap Posted May 19, 2009 Report Share Posted May 19, 2009 Hi, I have a front panel with a vertical splitter bar with a lot of controls on the left pane that can be scrolled and some buttons on the right pane that I don't want to scroll with the rest of the controls so they are easily accessible. I wanted the user to be able to print the left side of the pane somehow. Whenever I try I can only get a cut off picture of the whole thing so some controls aren't visible in the print out. Here is an example of what I have so far in LV 8.6. (I'm using the report generation toolkit) Quote Link to comment
PaulG. Posted May 19, 2009 Report Share Posted May 19, 2009 Try putting the strings in that pane into a cluster, then append that image control to report. Quote Link to comment
jgcode Posted May 19, 2009 Report Share Posted May 19, 2009 QUOTE (Karissap @ May 18 2009, 03:39 PM) Hi,I have a front panel with a vertical splitter bar with a lot of controls on the left pane that can be scrolled and some buttons on the right pane that I don't want to scroll with the rest of the controls so they are easily accessible. I wanted the user to be able to print the left side of the pane somehow. Whenever I try I can only get a cut off picture of the whole thing so some controls aren't visible in the print out. Here is an example of what I have so far in LV 8.6. (I'm using the report generation toolkit) Hi Karissa There seems to be a bug? where using the FP.Get.Image method with a splitter on the panel as it does not return the entire front panel (when Visible.Area.Only is toggled it gives the same result?) without a splitter it works. My only suggestion is to take the image subset as attached but expand the panel programmatically first to the lowest control to include all controls?? http://lavag.org/old_files/monthly_05_2009/post-10325-1242652061.png' target="_blank"> Cheers JG Quote Link to comment
jdunham Posted May 19, 2009 Report Share Posted May 19, 2009 You could also use use a subpanel control sized to fit the pane to the left of your splitter. Then make a new VI with the controls on the left side and put that VI into the subpanel. Then when you want to print, just print the new subvi rather than the main VI. You probably have to move some or all of your block diagram code into your new subvi, so this only works if your code is modular enough to change the block diagrams. Quote Link to comment
Karissap Posted May 20, 2009 Author Report Share Posted May 20, 2009 I'm already using this vi with the splitter as a sub-panel in another vi so I think I'll put everything I want to print into a cluster as per PaulG. Thanks everyone :thumbup: Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.