cancel
Showing results for 
Search instead for 
Did you mean: 

Hide bottom scroll bar

Former Member
0 Kudos

<p>Is it possible with WEViewer to also hide the bottom page navigation toolbar? We&#39;re using iFrames and very often we get two toolbars at the bottom of a page.</p><p> Thanks</p>

Accepted Solutions (1)

Accepted Solutions (1)

JWiseman
Active Contributor
0 Kudos

see the weviewer section of the User Guide for this. ensure that you have webelements 2.1 as earlier versions do not suppress the bottom toolbar. note though due to the way the report viewer is created that you only have the option of suppressing the top & bottom toolbar at the same time.

Former Member
0 Kudos

<p>OK. Thank you. Got that one solved.</p><p>Now we have a main report with an iframe. A detail rpt that displays within the iframe. The viewer toolbars for the detail rpt are &#39;suppressed&#39;, works great. <br /></p><p>The viewer toolbar for the main rpt is on and it shows up. <br /></p><p>What determines the location of the bottom toolbar?? <br />It shows up on top of the data for the detail rpt. I&#39;ve tried putting the WEiframe in the report footer or the page footer section. I&#39;ve tried different spacing of sections and it never shows at the bottom of the page. <br />What am I overlooking?</p><p>Thanks</p>

JWiseman
Active Contributor
0 Kudos

your formula that contains the weviewer function should be in the top left of your report...this way it becomes overlayed with the toolbar itself. also the icons for hiding / showing the toolbar & scrollbars (if applicable) show up in to the right of the other toolbar icon.

see your user guide on weviewer for more information.

i hope that this helps,

jamieÂ

Former Member
0 Kudos

The formula works just the way it's suppose to. That's not the issue. The bottom viewer toolbar shows on top of the rpt for the iframe, not at the bottom of the page.

Is there a setting to push the bottom viewer toolbar to the bottom of the page?

Thanks

JWiseman
Active Contributor
0 Kudos

ahh...i see...sorry about that. this is a new behaviour.

can you give me some more information:

1) what is the syntax that you are using in your iframe weviewer formula

2) what platform are you using...e.g. xir2 on java with tomcat in infoview with internet explorer 6x...need all of the details for this

just so you know that internet explorer 7 i've seen some weird behaviour with it and i am not 100% sure if it is supported for xir & xir2 as of yet.

let me know the answers to 1) & 2)

jamie

Former Member
0 Kudos

1)My create iframe formula is:
WhilePrintingRecords;

//Add other parameters stringVar startdate := ToText({?StartDate});

stringVar enddate := ToText({?EndDate});

stringVar projid := {?ProjID};

stringVar status := {?Status};

stringVar type := {?Type};

stringVar path := WETargetPath("rpt", "name", "my_Detail",

   "lsSStartDate=" + startdate + "&lsSEndDate=" + enddate + "&lsSProjID=" +

       projid + "&lsSStatus=" + status + "&lsSType=" + type);

WEIFrame("detail", path, 1700, 1600, "True");

I'm not using WEViewer for this one. So the toolbars would the default display

2)XiR2, .Net, IE6.0.2900.2180

Hope this enough. Thanks

JWiseman
Active Contributor
0 Kudos

okay...you mentioned that the details report (the one in the iframe) has the toolbars suppressed. and the details iframe is 1700 by 1600 pixels.

so, judging by your formula that you gave me, the main report bottom toolbar is interfering with the detail report.

in your case you'll want to resize your main report to something like Legal size, that will accomodate the iframe. viewers take the standard size that you assign the report at design time. so the bottom toolbar will always be at the same position.

Former Member
0 Kudos

I've been trying different sizes for the two reports and haven't found a good combination yet.Â

Thanks for your help.

Webelements is giving us the functionality that we want and need on these reports. There are many more questions to follow.

JWiseman
Active Contributor
0 Kudos

here's a tip that may help out...it's how to create a custom page size for crystal reports:

    • From the process tab, select 'Print Setup'Â
    • In the 'Set the report's page layout' section, select the 'Custom Settings' option.Â
    • Choose a Height and Width for the report (for example - 40inches width, 10 inches high).Â
    • Click Update.
    • Preview the report in the CMC viewer
    • Open the report in Crystal Reports and you will have the report with custom page settings to work with in the designer as well.

NOTE: your report will not print to hard copy like this, but this method is very helpful if you're only using it to change the size over the web.

Former Member
0 Kudos

<p>I&#39;ve tried all those steps and it looks great in the CMC viewer, however, when I open it CR from Enterprise the custom page settings are whatever the default printer is set for.</p><p>In the CMC I set the size to 30x30. In CR the size is 11x17, the default for the printer. Is there a setting I&#39;m over looking? </p><p>Thanks for your help. It looks like I&#39;m going to have to customize some of the Webelement functions to do what we want.</p>

JWiseman
Active Contributor
0 Kudos

you can try exporting the report to .rpt from the cmc viewer and do a save as over top of your original report.

if this doesn't work for you i'd suggest posting the custom print size issue to the report design forum as doing a custom report size isn't really in the realm of the webelements forums.

Answers (0)