Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to disable text in a multi-line text box(Using SWT.MULTI and setEnabled(false) still shows "black" text)
How to disable text in a multi-line text box [message #966140] Wed, 31 October 2012 19:52
Herb Miller is currently offline Herb MillerFriend
Messages: 22
Registered: September 2011
Junior Member
I am using the FormToolKit. I have a Text box created with the tool kit's createText method and the style is set to SWT.MULTI | SWT.WRAP.

When I display data in the Text field after setEnabled(false) has been called, the displayed text is very black - it is not grayed out like other Text fields that are not SWT.MULTI.

The multi-lined text box is certainly disabled. I cannot enter text into it.

But, why is the text still black instead of grayed out?

Also, I am running with Helios and SUSE Linux Version 10 patch level 1 (x86_64).

Thanks,
Herb Miller

Previous Topic:Windows Meta File (WMF) support
Next Topic:regarding implementation of "Run In BackGround" feature in wizard
Goto Forum:
  


Current Time: Wed Aug 23 23:33:08 GMT 2017

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

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