|
|
Re: Ampersand not displaying in ToolTip [message #447241 is a reply to message #447216] |
Thu, 09 December 2004 19:33 |
Eclipse User |
|
|
|
Originally posted by: v.j.b
wouldn't that be just standard escaping practices? C, aswell as Java, do
this aswell, see '\\' for instance in pathnames on windows platforms.
"Kalman" <kalman@zikal.com> wrote in message
news:cp9vig$4v9$1@www.eclipse.org...
> Someone just e-mailed me that you need to replace it with 3 ampersand
inside
> the tooltip ... How intuitive :)
>
>
> "Kalman" <kalman@zikal.com> wrote in message
> news:cp9smg$qqq$1@www.eclipse.org...
> > I can't get the ampersand ("&") character to show up in the tooltip of a
> > HyperLink widget. When I do link.getToolTipText() - it's there, but it's
> not
> > showing ...
> >
> > Any ideas?
> >
> > Thanx,
> >
> > - Kalman
> >
> >
>
>
|
|
|
|
Re: Ampersand not displaying in ToolTip [message #447256 is a reply to message #447244] |
Fri, 10 December 2004 18:26 |
Mani Ghamari Messages: 33 Registered: July 2009 |
Member |
|
|
This behaviour IS documented at seveal different places in the SWT
documentation.
The Ampersand is the default "Mnemonic Indicator" in SWT, whereever a
Mnemonic is applicable.
For instance, see the api docs for:
Button.setText(String string)
or
MenuItem.setText(String string)
Having a look at those, it was obvious for me what the problem is, YET,
I agree that the SWT documentation should become more organized!
regards,
Mani Ghamari
"Kalman" <kalman@zikal.com> wrote in message
news:cpadmo$hf7$1@www.eclipse.org...
>I have no problem with escaping things. I do have a problem of not
> mentioning anywhere that this needs to be done.
>
> Sun's Javadoc is much more thorough - there is no question. SWT is getting
> there though ...
>
> "varname" <v@j.b> wrote in message news:cpa9bb$49k$1@www.eclipse.org...
>> wouldn't that be just standard escaping practices? C, aswell as Java, do
>> this aswell, see '\\' for instance in pathnames on windows platforms.
>>
>>
>> "Kalman" <kalman@zikal.com> wrote in message
>> news:cp9vig$4v9$1@www.eclipse.org...
>> > Someone just e-mailed me that you need to replace it with 3 ampersand
>> inside
>> > the tooltip ... How intuitive :)
>> >
>> >
>> > "Kalman" <kalman@zikal.com> wrote in message
>> > news:cp9smg$qqq$1@www.eclipse.org...
>> > > I can't get the ampersand ("&") character to show up in the tooltip
>> > > of
> a
>> > > HyperLink widget. When I do link.getToolTipText() - it's there, but
> it's
>> > not
>> > > showing ...
>> > >
>> > > Any ideas?
>> > >
>> > > Thanx,
>> > >
>> > > - Kalman
>> > >
>> > >
>> >
>> >
>>
>>
>
>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03732 seconds