Jump to content
Software FX Community

Tooltip problem with ampersands


User (Legacy)

Recommended Posts

Posted

Hi

I'm new to ChartFX so apologies if this is a stupid question. When tooltips

appear over columns in my chart, ampersands disappear from the displayed

text. I realise this is an issue with tooltips in general and not ChartFX

and the workaround is to replace & with &&& (I can't work out why this is

necessary, why on earth would I want accelerator keys in tooltips?). Of

course the problem with this workaround is that the text on my x-axis now

displays with &&&. Is there a workaround for this?

Chris Bell

--

Fancy a pint?

Visit the Random Pub Finder

http://www.randompubfinder.com

post-2106-13922379528231_thumb.png

Posted

Unfortunately, as you pointed out, this is an issue with tooltips in 

general, the rationale behind this behavior (at least what I believe it is)

is that you can use the same text fro your menu items and for the tooltip.

A workaround is to capture the GetTip event and replace all & by &&&, this

way, your labels won't be affected.

--

FP

Software FX

Posted

Thanks, that fixed it, I didn't know about that event.

Chris Bell

--

Fancy a pint?

Visit the Random Pub Finder

http://www.randompubfinder.com

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:nHCMSIMyEHA.3492@webserver3.softwarefx.com...

> Unfortunately, as you pointed out, this is an issue with tooltips in

> general, the rationale behind this behavior (at least what I believe it

is)

> is that you can use the same text fro your menu items and for the tooltip.

>

> A workaround is to capture the GetTip event and replace all & by &&&, this

> way, your labels won't be affected.

>

> --

> FP

> Software FX

>

>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...