Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » display error with InputDialog and second not editable text field?
display error with InputDialog and second not editable text field? [message #445322] Tue, 02 November 2004 09:20 Go to next message
Andreas Niemeyer is currently offline Andreas NiemeyerFriend
Messages: 40
Registered: July 2009
Member
Hi all,

with the use of the JFace InputDialog, I get a second and not editable
text field. How can I suppress this behaviour?

InputDialog vInputBox = new InputDialog(vShell, "title", "field desc",
"field content", null);


Regards and thx,
Andreas
Re: display error with InputDialog and second not editable text field? [message #445325 is a reply to message #445322] Tue, 02 November 2004 15:10 Go to previous message
Billy Biggs is currently offline Billy BiggsFriend
Messages: 94
Registered: July 2009
Member
Andreas Niemeyer wrote:
> with the use of the JFace InputDialog, I get a second and not editable
> text field. How can I suppress this behaviour?
>
> InputDialog vInputBox = new InputDialog(vShell, "title", "field desc",
> "field content", null);

The read-only text field is for displaying error messages. It is a
text field and not a label so that it is selectable and in the focus
chain so it will be read by screen readers. Unfortunately, this causes
appearance problems on certain platforms or themes with background
pixmaps, see:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=71765

If you have no need for the error message area, you might want to
reimplement InputDialog without it.

-Billy
Previous Topic:Aligning Tree with Table
Next Topic:MouseDoubleClick event
Goto Forum:
  


Current Time: Wed Apr 24 13:44:08 GMT 2024

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

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

Back to the top