Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Default Focus for Wizard Button
Default Focus for Wizard Button [message #446955] Tue, 07 December 2004 08:36 Go to next message
Eclipse UserFriend
Originally posted by: mruff.infometis.ch

Hi,
I've got a WizardDialog with a button bar with 4 buttons (back, next,
finish and cancel).
I want to set the Focus to the next button
the problem is, that the Focus is always on the finish button, how can I
set on which button I do want to have the focus.
I tried:
I've overwritten
public void updateButtons(){
getButton(IDialogConstants.NEXT_ID).setFocus()
}
did not work

public void showPage(IWizardPage page){
getButton(IDialogConstants.NEXT_ID).setFocus()
}

did not work either

any help is very appreciated
thanks
martin
Re: Default Focus for Wizard Button [message #447016 is a reply to message #446955] Tue, 07 December 2004 21:34 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
You will probably get a better response to this question in the eclipse
platform newsgroup:

news://news.eclipse.org/eclipse.platform

"mruff" <mruff@infometis.ch> wrote in message
news:cp3q1g$up7$1@www.eclipse.org...
> Hi,
> I've got a WizardDialog with a button bar with 4 buttons (back, next,
> finish and cancel).
> I want to set the Focus to the next button
> the problem is, that the Focus is always on the finish button, how can I
> set on which button I do want to have the focus.
> I tried:
> I've overwritten
> public void updateButtons(){
> getButton(IDialogConstants.NEXT_ID).setFocus()
> }
> did not work
>
> public void showPage(IWizardPage page){
> getButton(IDialogConstants.NEXT_ID).setFocus()
> }
>
> did not work either
>
> any help is very appreciated
> thanks
> martin
Previous Topic:SWT JFace Standalone Wizard
Next Topic:Why FileDialog's setFilterExtensions() did not work in Linux gtk?
Goto Forum:
  


Current Time: Thu Mar 28 08:07:48 GMT 2024

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

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

Back to the top