October 25, 200223 yr HiI've run into a problem trying to display the % character inside a custom tooltip. The tooltip definitionWindow Defroster (%((L:Var1Slider,number) 100 * near)%!d!$)will give me "Window Defroster (50$)", but increasing to 37 doesn't give me the % sign, as expected. I've only checked with the character map util to find its code, even 176 yields
October 25, 200223 yr To display a percent sign in string or tooltip, try to double it. I just tried out:<String>%((A:TRANSPONDER1 CODE,number))%!f!%%</String>...<Tooltip>%((A:TRANSPONDER1 CODE,number))%!f!%%</Tooltip>and it works.The code itself doesn't make too much sense, it just shows the display of a percent sign.To display the xml-Code properly on the forum, I usually copy the code to Wordpad and use the "Replace All" feature (any other editor with replacing function will do) to replace all & by &, all < by < and all > by >. It is allways the & replacement first, <,>later. And don't use the forums preview feature, or you have to start over again.Arne Bartels
October 26, 200223 yr Ok, thanks. I'll try the doubling method.Sounded a little odd though, I must admit :)
Create an account or sign in to comment