Sign in to follow this  
Followers 0

Modifying preview status bar

5 posts in this topic

Posted

My application generates a report to a new floating document window, enters Preview mode and displays the status bar.  The status bar has buttons for navigating through the report, printing, saving to Excel or PDF, etc.  All that's just what I need.

 

But below the button the status area includes controls to change the layout, switch the view, or exit preview mode.  I don't want any of those capabilities available to the user.

 

How can I eliminate this portion of the status bar?  Or is there some other approach I need to take?

 

And, is there a way to add a "close window" button to this status bar?

Share this post


Link to post
Share on other sites

Posted

Could you create a "Preview Window" without the status bar make it a standard document window without any "options" (close / zoom )

then create another window that is a floating window with all the controls and functions you need using a utility layout table.

 

then any features you need like step thru pages can be done on the floating window - targeting the title of the preview window by name.

and then when you execute a print or close option the script would run to close the "option floating window and the preview window" 

Share this post


Link to post
Share on other sites

Posted

Thank you, but, ugh, I don't care for that approach.  I guess the ability to modify the status bar in the way I want is not exposed.

 

I'll think on my options.

Share this post


Link to post
Share on other sites

Posted

alternatively you could establish CUSTOM MENUS when in preview this will provide features you need to perform and any thing exposed in the TOOLBAR would perform your customized scripts vs the DEFAULT ones. 

Share this post


Link to post
Share on other sites

Posted

So I could create a custom menu that would cause the tools I don't want used to be ignored or operate differently if the user clicked on them.  Not quite as nice as removing the visual component as well, but that may work.

 

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0