This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

launch window options

 
Mahesh Mamani
Ranch Hand
Posts: 110
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not disable the button in the toolbar

Eric
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33697
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mahesh Mamani
Ranch Hand
Posts: 110
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic