COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: squish88 on 11 Apr 2013 11:06:34 AM

Title: Floating Run/Cancel Buttons
Post by: squish88 on 11 Apr 2013 11:06:34 AM
Hey guys,

   My users don't like having to scroll to the bottom of the prompt page to click on the run/cancel buttons.  Does anyone happen to know of a way to get them to "float" so to speak at the "bottom" of what's currently showing in the window?

Thanks in advance!!
Title: Re: Floating Run/Cancel Buttons
Post by: MFGF on 11 Apr 2013 11:46:03 AM
I guess you could put them inside a table cell, and put the prompts into another table cell directly above (with a specified size and overflow)? I can't test this right now, but it's worth a shot...

MF.
Title: Re: Floating Run/Cancel Buttons
Post by: Lynn on 11 Apr 2013 01:44:21 PM
I always put my prompt controls in tables along with the cancel/finish buttons in the last row of the table. No need for size and overflow. I do set padding in that row to separate the buttons a little from the controls.
Title: Re: Floating Run/Cancel Buttons
Post by: squish88 on 11 Apr 2013 01:56:24 PM
I'll try 'em both.   Thanks guys!!
Title: Re: Floating Run/Cancel Buttons
Post by: MFGF on 12 Apr 2013 07:21:14 AM
Quote from: Lynn on 11 Apr 2013 01:44:21 PM
I always put my prompt controls in tables along with the cancel/finish buttons in the last row of the table. No need for size and overflow. I do set padding in that row to separate the buttons a little from the controls.

If you don't set size and overflow on the table cell containing the prompt controls, is there another trick to preventing the table cell containing the prompt buttons from disappearing off the bottom of the screen? I'm a little befuddled today, sorry! :)
Title: Re: Floating Run/Cancel Buttons
Post by: Lynn on 12 Apr 2013 07:27:26 AM
Oh, I see what you mean! In my approach the buttons will float beneath the last prompt control so they could be off the bottom of the screen if there are more prompt controls than will fit. You'd need to scroll on the prompt page in that case.
Title: Re: Floating Run/Cancel Buttons
Post by: MFGF on 12 Apr 2013 07:39:22 AM
Aha! So I'm not quite senile after all :) My thinking was that setting a specific size and overflow on the table cell containing the prompt controls would cause the cell to adopt a scroll bar, but the cell below would be fixed on the page in a set place... If I get some time, I will try it...
Title: Re: Floating Run/Cancel Buttons
Post by: Lynn on 12 Apr 2013 08:04:30 AM
I think a block with scroll bars would do the trick.
Title: Re: Floating Run/Cancel Buttons
Post by: MFGF on 12 Apr 2013 11:08:26 AM
Aha! A nice, elegant solution.