Text hint support on Windows 7 [message #893217] |
Tue, 03 July 2012 09:14 |
|
Hi all,
I have a Text widget and I set a field hint using the method
Text#setMessage(java.lang.String)
This worked like a charm on Windows XP, but on Windows 7 the hint isn't
displayed.
The Text widget is set as not editable.
Example code:
Text field = new Text(parent, SWT.BORDER | SWT.SINGLE);
field.setEditable(false);
field.setMessage("Filter results");
Kindly, elvisd
|
|
|
Re: Text hint support on Windows 7 [message #893219 is a reply to message #893217] |
Tue, 03 July 2012 09:17 |
|
Sorry, forgot to say that I'm using eclipse Indigo
On Tue, 03 Jul 2012 09:14:44 +0000, Elvis Dominguez wrote:
> Hi all,
>
> I have a Text widget and I set a field hint using the method
> Text#setMessage(java.lang.String)
>
> This worked like a charm on Windows XP, but on Windows 7 the hint isn't
> displayed.
> The Text widget is set as not editable.
> Example code:
>
> Text field = new Text(parent, SWT.BORDER | SWT.SINGLE);
> field.setEditable(false);
> field.setMessage("Filter results");
>
> Kindly, elvisd
|
|
|
|
Re: Text hint support on Windows 7 [message #893266 is a reply to message #893236] |
Tue, 03 July 2012 12:20 |
|
You are true, but the Text can become editable after some status change,
thus could be ok to display some hint even if not editable.
If is a expected behavior it's ok for me. But for the same SWT version
you have different behavior. In Linux and Windows XP the hint is
displayed, in W7 not.
Is maybe controlled by the OS?
On Tue, 03 Jul 2012 12:05:56 +0200, Jan Krakora wrote:
> Hi,
>
> I think it's expected behavior. If you can't edit the text, then why it
> should give you a hint?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03667 seconds