Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Change Button Label on PrintDialog
Change Button Label on PrintDialog [message #452307] Thu, 17 March 2005 12:01 Go to next message
Daniel Hirscher is currently offline Daniel HirscherFriend
Messages: 43
Registered: July 2009
Member
Hi,

I would like to change the button label of the "Print"-button to "Apply".

I've written my own printing dialog including a button named "Printer
Setup...". On that button the SWT PrintDialog opens, giving the User a
chance to change e.g. the paper orientation. Pressing "Print" goes back
to my printing dialog, where I read back the paper dimension to update
some overview to give the user feedback on which part of the document
goes on which page.

So in this context the label in the SWT PrintDialog saying "Print" is
not approriate. A better solution would be "Apply", because in my own
printing dialog is already a "Print" button which actually starts printing.

So, is there a chance for me to change this label text?

Thank you,
Daniel
Re: Change Button Label on PrintDialog [message #452349 is a reply to message #452307] Thu, 17 March 2005 17:35 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
This dialog is provided by the operating system and can not be changed.

"Daniel Hirscher" <Daniel.Hirscher@innovations.de> wrote in message
news:d1bri9$el7$1@www.eclipse.org...
> Hi,
>
> I would like to change the button label of the "Print"-button to "Apply".
>
> I've written my own printing dialog including a button named "Printer
> Setup...". On that button the SWT PrintDialog opens, giving the User a
> chance to change e.g. the paper orientation. Pressing "Print" goes back to
> my printing dialog, where I read back the paper dimension to update some
> overview to give the user feedback on which part of the document goes on
> which page.
>
> So in this context the label in the SWT PrintDialog saying "Print" is not
> approriate. A better solution would be "Apply", because in my own printing
> dialog is already a "Print" button which actually starts printing.
>
> So, is there a chance for me to change this label text?
>
> Thank you,
> Daniel
Previous Topic:difference between focusin and activation events
Next Topic:accelerator keys / hotkeys
Goto Forum:
  


Current Time: Sun Jul 21 23:07:17 GMT 2019

Powered by FUDForum. Page generated in 0.02507 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top