Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsDefault Focus for Wizard Button
https://www.eclipse.org/forums/index.php/mv/msg/141869/446955/#msg_446955
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]]>2004-12-07T08:36:05-00:00Re: Default Focus for Wizard Button
https://www.eclipse.org/forums/index.php/mv/msg/141869/447016/#msg_447016
platform newsgroup:
"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]]>Veronika Irvine2004-12-07T21:34:51-00:00