aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes launch window options Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "launch window options" Watch "launch window options" New topic
Author

launch window options

Mahesh Mamani
Ranch Hand

Joined: Jun 25, 2001
Posts: 110
Hi All,

I need to a open a window with just the Print button/icon enabled. All the others should be either disabled or not displayed at all. I am currently using the javascript:launchwin() call to open the window.

Thanks in advance,
Mahesh
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can not disable the button in the toolbar

Eric
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30752
    
156

Mahesh,
As Eric said, you can't disable buttons on the toolbar. But you can hide the whole row of buttons. Then provide the user with a link that calls the print option.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Mahesh Mamani
Ranch Hand

Joined: Jun 25, 2001
Posts: 110
Hi Eric/Jeanne,

I tried the link option as well as the button option, but just wanted to try out this option also, as we can inform that the Windows feature is not working, no problem with our code.

The easy way out to get out of a problem.

Mahesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: launch window options