Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » problem with Text widget, SWT.MULTI in WizardPage
problem with Text widget, SWT.MULTI in WizardPage [message #109064] Tue, 14 October 2008 08:26 Go to next message
David Donohue is currently offline David DonohueFriend
Messages: 104
Registered: July 2009
Senior Member
When I add a Text area control to a Wizard page, the enter key navigates
the wizard to the next page.

myText = new Text(composite, SWT.BORDER | SWT.MULTI | SWT.WRAP |
SWT.V_SCROLL);

The desired behavior upon pressing "Enter" would be to have the cursor
wrap to the next line, and NOT navigate to the next wizard page. Is there
a way to suppress the enter key from selecting the default button?

Thanks!
David Donohue
Re: problem with Text widget, SWT.MULTI in WizardPage [message #109104 is a reply to message #109064] Tue, 14 October 2008 09:25 Go to previous message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

David,

this is a known issue:

238986: Default Button and Text with SWT.MULTI
https://bugs.eclipse.org/bugs/show_bug.cgi?id=238986

Cheers,
Rüdiger

David Donohue wrote:
> When I add a Text area control to a Wizard page, the enter key navigates
> the wizard to the next page.
> myText = new Text(composite, SWT.BORDER | SWT.MULTI | SWT.WRAP |
> SWT.V_SCROLL);
>
> The desired behavior upon pressing "Enter" would be to have the cursor
> wrap to the next line, and NOT navigate to the next wizard page. Is
> there a way to suppress the enter key from selecting the default button?
>
> Thanks!
> David Donohue
>
Previous Topic:shortcut and/or bookmark of app
Next Topic:[ANN] CVS reorganization
Goto Forum:
  


Current Time: Fri Apr 26 21:34:28 GMT 2024

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

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

Back to the top